From 59765cab961847dfd101e69ae6d8d1d501a5284c Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期二, 04 六月 2024 11:10:28 +0800
Subject: [PATCH] 1、ice配置文件上传
---
Source/ProjectWeb/src/components/dynamic-components/dynamic-tree.vue | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/Source/ProjectWeb/src/components/dynamic-components/dynamic-tree.vue b/Source/ProjectWeb/src/components/dynamic-components/dynamic-tree.vue
index f2097ff..527e2e5 100644
--- a/Source/ProjectWeb/src/components/dynamic-components/dynamic-tree.vue
+++ b/Source/ProjectWeb/src/components/dynamic-components/dynamic-tree.vue
@@ -4,6 +4,7 @@
:key="areasName+'buttons-'+componentVO.oid"
:butttonList="componentVO.buttons" :dataStore="checkDatas"
@afterMethod="handleRefresh"
+ @refresh="initData"
:sourceData="sourceData" type="tree" style="margin-bottom: 5px;"></dynamic-button>
<el-input
placeholder="杈撳叆鍏抽敭瀛楄繘琛岃繃婊�"
@@ -155,10 +156,6 @@
}
},
created() {
- this.getParams();
- if (!this.lazy) {
- this.initData();
- }
},
mounted() {
if(this.componentVO.buttons && this.componentVO.buttons.length>0){
@@ -223,6 +220,7 @@
this.params = Object.assign({}, treeParams, sourceDataMapList);
},
initData() {
+ this.data=[];
if (Object.keys(this.sourceData).length > 0 && this.isShow) {
getTree(null, null, Object.assign({
queryRoot: true
--
Gitblit v1.9.3