From 3e20408521d46b1086a5e77b914d04afb9630ab0 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期五, 28 七月 2023 10:37:02 +0800 Subject: [PATCH] 主题库开启编辑分类注入bug --- Source/UBCS-WEB/src/views/work/done.vue | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/Source/UBCS-WEB/src/views/work/done.vue b/Source/UBCS-WEB/src/views/work/done.vue index 56ef30c..a4d9ad6 100644 --- a/Source/UBCS-WEB/src/views/work/done.vue +++ b/Source/UBCS-WEB/src/views/work/done.vue @@ -12,6 +12,7 @@ @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" + @row-click="clickRowChange" @on-load="onLoad"> <template slot-scope="scope" slot="menu"> <el-button type="text" @@ -136,8 +137,15 @@ this.onLoad(this.page, params); done(); }, + clickRowChange(row){ + this.$refs.crud.toggleSelection(); + this.selectionList = row; + this.$refs.crud.setCurrentRow(row); + this.$refs.crud.toggleRowSelection(row); //閫変腑褰撳墠琛� + }, selectionChange(list) { this.selectionList = list; + this.$refs.crud.setCurrentRow(this.selectionList[list.length-1]); }, selectionClear() { this.selectionList = []; -- Gitblit v1.9.3