From cdbbca43c4466d36e9cef08b81cb0fe689c6da25 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: 星期四, 14 十一月 2024 16:23:16 +0800 Subject: [PATCH] chore: 锁定vue-json-pretty版本 --- src/views/system/user/authRole.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/system/user/authRole.vue b/src/views/system/user/authRole.vue index 9b9927d..fe119ae 100644 --- a/src/views/system/user/authRole.vue +++ b/src/views/system/user/authRole.vue @@ -2,7 +2,7 @@ <div class="p-2"> <div class="panel"> <h4 class="panel-title">鍩烘湰淇℃伅</h4> - <el-form :model="form" label-width="80px" :inline="true"> + <el-form :model="form" :inline="true"> <el-row :gutter="10"> <el-col :span="2.5"> <el-form-item label="鐢ㄦ埛鏄电О" prop="nickName"> @@ -59,7 +59,7 @@ import { getAuthRole, updateAuthRole } from '@/api/system/user'; import { UserForm } from '@/api/system/user/types'; import { RouteLocationNormalized } from 'vue-router'; -import { parseTime } from "@/utils/ruoyi"; +import { parseTime } from '@/utils/ruoyi'; const route = useRoute(); const { proxy } = getCurrentInstance() as ComponentInternalInstance; @@ -80,8 +80,8 @@ /** 鍗曞嚮閫変腑琛屾暟鎹� */ const clickRow = (row: RoleVO) => { - // ele鐨勬柟娉曟湁闂锛宻elected搴旇涓哄彲閫夊弬鏁� - tableRef.value?.toggleRowSelection(row, false); + row.flag = !row.flag + tableRef.value?.toggleRowSelection(row, row.flag); }; /** 澶氶�夋閫変腑鏁版嵁 */ const handleSelectionChange = (selection: RoleVO[]) => { -- Gitblit v1.9.3