wangting
2024-05-08 7f5dca4292ee7597fdab060e5557e274977b1353
Source/ProjectWeb/src/components/dynamic-components/dynamic-button.vue
@@ -134,7 +134,7 @@
      const paramVOS = buttonitem.paramVOS;
      const DefineVO = this.componentVO.treeDefineVO || this.componentVO.tableDefineVO || this.componentVO.treeTableDefineVO || this.componentVO.formDefineVO;
      if (!paramVOS['title']) {
        paramVOS['title'] = buttonitem.name + (DefineVO.title || this.componentVO.description || '');
        paramVOS['title'] = buttonitem.name + (DefineVO.title || '');
      }
      if (!paramVOS['type']) {
@@ -148,15 +148,12 @@
      const that = this;
      //paramVOS.customBtn //弹窗默认有保存按钮,customBtn为true时内容展示自定义按钮
      paramVOS.form = "editknowledgefolderall"
      doAction(buttonitem, {
        paramVOS: paramVOS,
        dataStore: this.dataStore || [],
        sourceData: this.sourceData || {}
      }, function () {
        if (that.$parent.handleRefresh) {
          that.$parent.handleRefresh()
        }
      }, function (actionType,data) {
        that.$emit("afterMethod",actionType,data);
      });
    }
  },