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 }