From 5bebb0546da5d2b34bae52a13f302657c7099755 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期五, 12 四月 2024 12:06:36 +0800 Subject: [PATCH] 按钮action --- Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue b/Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue index f4495f6..70ee0f9 100644 --- a/Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue +++ b/Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue @@ -11,13 +11,13 @@ @selection-change="selectChange"> <!--top鍖哄煙鎸夐挳--> <template slot="menuLeft" slot-scope="scope"> - <dynamic-button :butttonList="componentVO.buttons" :selectList="selectList" LocationType="top" + <dynamic-button :componentVO="componentVO" :butttonList="componentVO.buttons" :dataStore="selectList" LocationType="top" :sourceData="sourceData" type="table"></dynamic-button> </template> <!--menu鍖哄煙鎸夐挳--> <template slot="menu" slot-scope="scope"> - <dynamic-button :butttonList="componentVO.buttons" :scope="scope" :selectList="selectList" LocationType="menu" + <dynamic-button :componentVO="componentVO" :butttonList="componentVO.buttons" :scope="scope" :dataStore="selectList" :sourceData="sourceData" LocationType="menu" type="table"></dynamic-button> </template> </avue-crud> @@ -563,6 +563,9 @@ }, searchChange(form,done){ done(); + }, + handleRefresh(){ + this.$refs.dataTable.refreshTable(); } } } -- Gitblit v1.9.3