From f7bb4db21c6b7316c92a0b6fdda1c92ec36202d0 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 24 八月 2023 19:14:23 +0800
Subject: [PATCH] 提交代码

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