From 25739be9a2ae6ac705e34287f831fdc11010d3f4 Mon Sep 17 00:00:00 2001 From: zhangyongzhangyong <2012005003@qq.com> Date: Wed, 1 Dec 2021 15:25:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=BB=84=E4=BB=B6=20Angular?= =?UTF-8?q?=20tinymce-editor=20=E7=AC=AC=E4=BA=8C=E6=AC=A1=E8=BF=9B?= =?UTF-8?q?=E5=85=A5=E6=97=B6=EF=BC=88=E5=88=87=E6=8D=A2=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E9=A1=B5=EF=BC=89=EF=BC=8C=E6=95=B0=E6=8D=AE=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=9B=9E=E6=98=BE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/heart/volunteerunion-add-or-update.vue | 8 ++++++-- .../modules/heart/volunteerunionact-add-or-update.vue | 9 ++++++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/views/modules/heart/volunteerunion-add-or-update.vue b/src/views/modules/heart/volunteerunion-add-or-update.vue index a39c9f6..289f230 100644 --- a/src/views/modules/heart/volunteerunion-add-or-update.vue +++ b/src/views/modules/heart/volunteerunion-add-or-update.vue @@ -36,7 +36,7 @@ - + @@ -71,7 +71,8 @@ export default { headPic: '' }, loading: false, - uploadUrl: '' + uploadUrl: '', + tinymceFlag: 1 } }, computed: { @@ -98,6 +99,9 @@ export default { } } }, + activated () { + this.tinymceFlag++ + }, components: { TinymceEditor }, diff --git a/src/views/modules/heart/volunteerunionact-add-or-update.vue b/src/views/modules/heart/volunteerunionact-add-or-update.vue index 0a9bcaa..f35c3ae 100644 --- a/src/views/modules/heart/volunteerunionact-add-or-update.vue +++ b/src/views/modules/heart/volunteerunionact-add-or-update.vue @@ -26,7 +26,7 @@ - + @@ -70,7 +70,8 @@ export default { }, uploadUrl: '', imgSort: 0, - options: [] + options: [], + tinymceFlag: 1 } }, computed: { @@ -128,7 +129,6 @@ export default { if (this.dataForm.images.length > 0) { this.imgSort = this.dataForm.images[this.dataForm.images.length - 1].imgSort } - console.log('this.imgSort:' + this.imgSort) }).catch(() => {}) }, // 表单提交 @@ -173,6 +173,9 @@ export default { }) } }, + activated () { + this.tinymceFlag++ + }, components: { TinymceEditor }