From 9ae1d6b7acec3b71eb2a8490243d43589c05b9d5 Mon Sep 17 00:00:00 2001 From: anngreen Date: Sat, 20 Apr 2024 19:47:07 +0800 Subject: [PATCH 1/3] =?UTF-8?q?ts=20=E5=88=86=E6=94=AF=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E5=92=8C=205.x=20=E5=88=86=E6=94=AF=E5=90=8E=E7=AB=AF=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E5=AF=B9=E5=BA=94=EF=BC=81=EF=BC=81=EF=BC=81=EF=BC=81?= =?UTF-8?q?=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2742463..73e14a0 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +> ts 分支代码和 5.x 分支后端代码对应!!!!! ## 平台简介 * 本仓库为前端技术栈 [Vue3](https://v3.cn.vuejs.org) + [TS](https://www.typescriptlang.org/) + [Element Plus](https://element-plus.org/zh-CN) + [Vite](https://cn.vitejs.dev) 版本。 From 46a416f89904232855df91a7ebd6e0c82bfab7d6 Mon Sep 17 00:00:00 2001 From: anngreen Date: Tue, 30 Jul 2024 00:17:11 +0800 Subject: [PATCH 2/3] remove --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 6c1a7a1..010adb9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ -> ts 分支代码和 5.x 分支后端代码对应!!!!! ## 平台简介 - 本仓库为前端技术栈 [Vue3](https://v3.cn.vuejs.org) + [TS](https://www.typescriptlang.org/) + [Element Plus](https://element-plus.org/zh-CN) + [Vite](https://cn.vitejs.dev) 版本。 From 80a3b6416221c29d33029b3afd63131ad159b782 Mon Sep 17 00:00:00 2001 From: anngreen Date: Tue, 30 Jul 2024 00:23:00 +0800 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20=E5=AE=9E=E7=8E=B0=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E8=A1=8C=E9=80=89=E4=B8=AD=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/user/authRole.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/system/user/authRole.vue b/src/views/system/user/authRole.vue index 87d2334..fe119ae 100644 --- a/src/views/system/user/authRole.vue +++ b/src/views/system/user/authRole.vue @@ -80,8 +80,8 @@ const tableRef = ref(); /** 单击选中行数据 */ const clickRow = (row: RoleVO) => { - // ele的方法有问题,selected应该为可选参数 - tableRef.value?.toggleRowSelection(row, false); + row.flag = !row.flag + tableRef.value?.toggleRowSelection(row, row.flag); }; /** 多选框选中数据 */ const handleSelectionChange = (selection: RoleVO[]) => {