修复测试用例区域温馨提醒 tooltip 不换行

n-tooltip 的内容容器默认按内容宽度撑开(naive-ui 没有设默认 max-width/
white-space),SQL 提示文案变长后整段挤成一条超宽横线。加 max-width 约束
宽度使其正常换行。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-02 18:02:49 -06:00
parent b4ac42b736
commit 5d418a2280

View File

@@ -791,7 +791,7 @@ watch(
</n-button>
</n-upload>
</div>
<n-tooltip placement="right">
<n-tooltip placement="right" style="max-width: 320px; white-space: normal">
<template #trigger>
<n-button text>温馨提醒</n-button>
</template>