From 8199d1738e8b75ccad7f3465dfd88aac2bb1a160 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期五, 04 八月 2023 14:56:11 +0800 Subject: [PATCH] 主题库切换树模板流程和阶段显示bug --- Source/UBCS-WEB/src/components/code-dialog-page/formulaEditor.vue | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 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 2bfd2cc..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,10 +343,14 @@ export default { name: "formulaEditor", props: { - // 瀵硅瘽妗嗘樉绀洪殣钘忔帶鍒� + // 瀵硅瘽妗嗘樉绀洪殣钘忔帶鍒� visible: { type: "Boolean", default: false, + }, + componentRuleText:{ + type:String, + default: "" }, //鏈満鏅彉閲� thisSceneTableData: { @@ -645,10 +649,14 @@ }; }, watch: { - // 鐩戝惉鐖剁粍浠朵紶鐨勭獥鍙f樉绀洪殣钘忕殑鍊� - visible (){ - this.isShowformulaEdit = this.visible; - } + // 鐩戝惉鐖剁粍浠朵紶鐨勭獥鍙f樉绀洪殣钘忕殑鍊硷紝浠ュ強鍊肩殑鍥炲~ + visible() { + this.isShowformulaEdit = this.visible; + this.formulaContent=this.componentRuleText || ''; + }, + }, + mounted() { + }, methods: { -- Gitblit v1.9.3