diff --git a/frontend/src/components/canvas/custom-component/DeRichTextView.vue b/frontend/src/components/canvas/custom-component/DeRichTextView.vue index eb832c0478..bff97e2b8b 100644 --- a/frontend/src/components/canvas/custom-component/DeRichTextView.vue +++ b/frontend/src/components/canvas/custom-component/DeRichTextView.vue @@ -116,7 +116,7 @@ export default { if (this.canEdit) { this.element.propValue.textValue = newValue } - this.initReady||this.$store.commit('canvasChange') + this.initReady&&this.$store.commit('canvasChange') } }, mounted() { @@ -131,7 +131,9 @@ export default { tinymce.init({}) this.myValue = this.assignment(this.element.propValue.textValue) bus.$on('initCurFields-' + this.element.id, this.initCurFieldsChange) - this.initReady=true + this.$nextTick(()=>{ + this.initReady=true + }) }, initCurFieldsChange() { if (!this.canEdit) {