From eebcc1c41d0ee7a60c79d8bbf88bf4f93b0f0031 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 27 Jun 2024 18:40:01 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=AF=8C=E6=96=87=E6=9C=AC=E9=98=88=E5=80=BC=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E5=90=8E=E6=B2=A1=E6=9C=89=E5=8F=8A=E6=97=B6=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/custom-component/rich-text/DeRichTextView.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/custom-component/rich-text/DeRichTextView.vue b/core/core-frontend/src/custom-component/rich-text/DeRichTextView.vue index 57a8000aac..056fdce5d5 100644 --- a/core/core-frontend/src/custom-component/rich-text/DeRichTextView.vue +++ b/core/core-frontend/src/custom-component/rich-text/DeRichTextView.vue @@ -214,6 +214,8 @@ const viewInit = () => { const initCurFieldsChange = () => { if (!canEdit.value) { myValue.value = assignment(element.value.propValue.textValue) + const ed = tinymce.editors[tinymceId] + ed.setContent(myValue.value) } } @@ -446,8 +448,8 @@ const initCurFields = chartDetails => { } } -const renderChart = () => { - initCurFieldsChange() +const renderChart = viewInfo => { + calcData(viewInfo) } const conditionAdaptor = (chart: Chart) => {