From b642788dda56b058e2a4c40a9c43e29a5db85865 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 14 八月 2023 09:35:28 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 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