From 5389f1d01145bef26512cdc9f3a0d382ba88394d Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Sat, 12 Oct 2024 14:39:15 +0800 Subject: [PATCH] perf: Help text automatic line wrapping --- .../el-form-renderer/components/render-form-item.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/Form/DataForm/components/el-form-renderer/components/render-form-item.vue b/src/components/Form/DataForm/components/el-form-renderer/components/render-form-item.vue index e73ea0578..93a678483 100755 --- a/src/components/Form/DataForm/components/el-form-renderer/components/render-form-item.vue +++ b/src/components/Form/DataForm/components/el-form-renderer/components/render-form-item.vue @@ -17,7 +17,7 @@ placement="right" popper-class="help-tips" > -
+ @@ -322,4 +322,9 @@ export default { cursor: pointer; } } + +.help-tip-content { + white-space: pre-wrap; + word-wrap: break-word; +}