From b58e8ab1807d80736c8da68b0070e7c8143c3b9b Mon Sep 17 00:00:00 2001 From: children117cl <278950112@qq.com> Date: 星期五, 11 六月 2021 12:58:07 +0800 Subject: [PATCH] 富文本添加过滤机制,过滤word文档复制多余的垃圾文本 --- src/pages/system/banner.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/pages/system/banner.vue b/src/pages/system/banner.vue index 7f2f5f7..73d5cf6 100644 --- a/src/pages/system/banner.vue +++ b/src/pages/system/banner.vue @@ -63,8 +63,12 @@ <el-form-item label="鎺掑簭鍙凤細" prop="orderNum"> <el-input v-model="dialogData.orderNum" placeholder="璇疯緭鍏ユ帓搴忓彿" maxlength="10" /> </el-form-item> - <el-form-item ref="uploadFormItem" label="杞挱鍥撅細" prop="uploadImgs"> - <!-- 涓婁紶鍥剧墖缁勪欢(澶氬浘) --> + <el-form-item ref="uploadFormItem" prop="uploadImgs"> + <span slot="label"> + <!-- 灏哄 --> + 杞挱鍥撅細<br><span style="color: #999;font-size: 12px">(xxx*xxx鍍忕礌)</span> + </span> + <!-- 涓婁紶鍥剧墖缁勪欢(鍗曞浘) --> <UploadSingleImg ref="refUploadImg" v-model="dialogData.uploadImgs" @@ -325,7 +329,7 @@ }, inf => { this.$messageSuc('淇濆瓨鎴愬姛') this.hideDialog() - this.getList() + type === 'add' ? this.reGetList() : this.getList() }) } } -- Gitblit v1.8.0