From 2ad2a3cdd0df63b6557789ba8a9d968984fe5da3 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期二, 26 十一月 2024 16:25:31 +0800 Subject: [PATCH] 调整页面 --- Source/plt-web/plt-web-ui/src/views/system/fileCab/index.vue | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/views/system/fileCab/index.vue b/Source/plt-web/plt-web-ui/src/views/system/fileCab/index.vue index ccad73e..5b51340 100644 --- a/Source/plt-web/plt-web-ui/src/views/system/fileCab/index.vue +++ b/Source/plt-web/plt-web-ui/src/views/system/fileCab/index.vue @@ -2,7 +2,7 @@ <!--鏂囦粨绠$悊椤甸潰--> <basic-container> <avue-crud - ref="logCrud" + ref="crud" v-model="form" :data="tableData" :option="option" @@ -11,6 +11,7 @@ @row-save="rowSaveHandler" @row-update="rowUpdateHandler" @row-del="rowDeleteHandler" + @row-click="rowClickHandler" @selection-change="selectionChange" > <template slot="menuLeft" slot-scope="scope"> @@ -236,6 +237,17 @@ selectionChange(list) { this.selectionList = list; }, + + // 琛屽崟閫� + rowClickHandler(row) { + func.rowClickHandler( + row, + this.$refs.crud, + this.lastIndex, + (newIndex) => { this.lastIndex = newIndex; }, + () => { this.selectionList = []; } + ); + }, } } </script> -- Gitblit v1.9.3