From c5ea838fef2a6e4fc3940009ee938fbfa29551b5 Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期一, 03 六月 2024 14:53:49 +0800 Subject: [PATCH] 1、平台JAR上传 --- 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