From 04e294b3e532d03642335ee102d3f515fa5358a0 Mon Sep 17 00:00:00 2001 From: sunshine <1913599913@qq.com> Date: 星期一, 17 八月 2020 12:08:34 +0800 Subject: [PATCH] 代码生成:select的表单验证失效 --- ruoyi-ui/src/components/Editor/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/components/Editor/index.vue b/ruoyi-ui/src/components/Editor/index.vue index 2002908..7fadf6f 100644 --- a/ruoyi-ui/src/components/Editor/index.vue +++ b/ruoyi-ui/src/components/Editor/index.vue @@ -66,7 +66,6 @@ content: this.value, uploadImgUrl: "", editorOption: { - placeholder: "", theme: "snow", // or 'bubble' placeholder: "请输入内容", modules: { @@ -146,10 +145,11 @@ <style> .editor { + white-space: pre-wrap!important; line-height: normal !important; height: 192px; } -.el-upload { +.quill-img { display: none; } .ql-snow .ql-tooltip[data-mode="link"]::before { -- Gitblit v1.9.2