田源
2023-08-08 4097158a48f86181c7c01ab0f8f52c3b8ef6ed6b
Source/UBCS-WEB/src/components/code-dialog-page/formulaEditor.vue
@@ -649,13 +649,14 @@
    };
  },
  watch: {
      // 监听父组件传的窗口显示隐藏的值
      visible (){
          this.isShowformulaEdit = this.visible;
      }
      // 监听父组件传的窗口显示隐藏的值,以及值的回填
      visible() {
        this.isShowformulaEdit = this.visible;
        this.formulaContent=this.componentRuleText || '';
      },
  },
  mounted() {
    this.formulaContent=this.componentRuleText
  },
  methods: {