diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index a989338..a3181bb 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -86,6 +86,7 @@ const authVisible=ref(false) actions: [ { label: '分配权限', + icon: 'HelpFilled', type: 'warning', onClick: handleAuth.bind(null, record), // 根据权限控制是否显示: 有权限,会显示,支持多个 diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index e8b0484..71e7bca 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -117,7 +117,7 @@ const actionColumn = reactive({ - width:370, + width:400, label: '操作', prop: 'action', fixed: 'right', @@ -142,6 +142,7 @@ }, { label: '重置密码', + icon: 'Lock', type: 'warning', onClick: handleResetPassWord.bind(null, record), auth:['sys:user:resetPwd']