From 3913cce7713eb58a8c7e0f3d20f610366f3df102 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 02 八月 2023 14:57:29 +0800 Subject: [PATCH] 主数据表格点击发布勾选状态bug --- Source/UBCS-WEB/src/components/code-dialog-page/formulaEditor.vue | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Source/UBCS-WEB/src/components/code-dialog-page/formulaEditor.vue b/Source/UBCS-WEB/src/components/code-dialog-page/formulaEditor.vue index e6e2451..4f61aaa 100644 --- a/Source/UBCS-WEB/src/components/code-dialog-page/formulaEditor.vue +++ b/Source/UBCS-WEB/src/components/code-dialog-page/formulaEditor.vue @@ -343,7 +343,7 @@ export default { name: "formulaEditor", props: { - // 瀵硅瘽妗嗘樉绀洪殣钘忔帶鍒� + // 瀵硅瘽妗嗘樉绀洪殣钘忔帶鍒� visible: { type: "Boolean", default: false, @@ -649,13 +649,14 @@ }; }, watch: { - // 鐩戝惉鐖剁粍浠朵紶鐨勭獥鍙f樉绀洪殣钘忕殑鍊� - visible (){ - this.isShowformulaEdit = this.visible; - } + // 鐩戝惉鐖剁粍浠朵紶鐨勭獥鍙f樉绀洪殣钘忕殑鍊硷紝浠ュ強鍊肩殑鍥炲~ + visible() { + this.isShowformulaEdit = this.visible; + this.formulaContent=this.componentRuleText || ''; + }, }, mounted() { - this.formulaContent=this.componentRuleText + }, methods: { -- Gitblit v1.9.3