From 4d09fa3cc545628ba08264d077bdb64e50483c73 Mon Sep 17 00:00:00 2001 From: czc Date: Fri, 28 Jul 2023 10:08:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3Quill=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E8=81=9A=E7=84=A6=E5=AF=BC=E8=87=B4=E7=9A=84=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E5=AE=9A=E4=BD=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Editor/index.vue | 4 ++++ src/views/pms/product/AddProduct.vue | 14 +++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/components/Editor/index.vue b/src/components/Editor/index.vue index fc68129..5f2bfe8 100644 --- a/src/components/Editor/index.vue +++ b/src/components/Editor/index.vue @@ -137,6 +137,10 @@ export default { } }); } + this.Quill.enable(false); + setTimeout(()=>{ + this.Quill.enable(true); + }, 1000); this.Quill.pasteHTML(this.currentValue); this.Quill.on("text-change", (delta, oldDelta, source) => { const html = this.$refs.editor.children[0].innerHTML; diff --git a/src/views/pms/product/AddProduct.vue b/src/views/pms/product/AddProduct.vue index 81fe0c6..7278882 100644 --- a/src/views/pms/product/AddProduct.vue +++ b/src/views/pms/product/AddProduct.vue @@ -72,7 +72,7 @@ - +
产品规格 @@ -107,7 +107,7 @@