优化 文本不在单词中间进行换行

This commit is contained in:
yf 2025-01-05 21:10:30 +08:00
parent 41bc20a3a8
commit f5083ca420
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@
<span
:id="textElId"
:style="cellInfo.style.text"
style="word-break: keep-all; white-space: normal; overflow-wrap: break-word;"
v-html="safeHtml(cellInfo.label)">
</span>
<el-dialog

View File

@ -12,6 +12,7 @@
<span
:id="textElId"
:style="cellInfo.style.text"
style="word-break: keep-all; white-space: normal; overflow-wrap: break-word;"
v-html="safeHtml(cellInfo.label)">
</span>
<el-dialog