From 07ff3e5cb589618a58c2f1c8b58b9f1305342532 Mon Sep 17 00:00:00 2001 From: lihang <lihang@vci-tech.com> Date: 星期四, 08 六月 2023 15:04:05 +0800 Subject: [PATCH] 修改版本规则、元数据页面查看应用范围;修正页面点击编辑时,修改了源数据的问题; --- Source/UBCS-WEB/src/views/system/topmenu.vue | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/Source/UBCS-WEB/src/views/system/topmenu.vue b/Source/UBCS-WEB/src/views/system/topmenu.vue index fdb6388..96c8cf1 100644 --- a/Source/UBCS-WEB/src/views/system/topmenu.vue +++ b/Source/UBCS-WEB/src/views/system/topmenu.vue @@ -17,6 +17,7 @@ @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" + @row-click="clickRowChange" @on-load="onLoad"> <template slot="menuLeft"> <el-button type="danger" @@ -101,6 +102,7 @@ selection: true, dialogWidth: 900, dialogClickModal: false, + highlightCurrentRow: true, //琛岄�変腑鏃堕珮浜� column: [ { label: "鑿滃崟鍚�", @@ -294,8 +296,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