From 650359c357b3e6b75cce03a2f4ec3f47909ef011 Mon Sep 17 00:00:00 2001 From: liguonan <lign@zhiding.com.cn> Date: 星期一, 10 八月 2020 16:28:50 +0800 Subject: [PATCH] 修改sass为node-sass,避免el-icon图标乱码 --- 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