From 9acd05a2cc3f95763c03adcb7981bdcb560755ca Mon Sep 17 00:00:00 2001 From: lilinyuan <1084668738@qq.com> Date: Sat, 1 Jun 2024 20:49:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E8=B7=B3=E8=BD=ACbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/role/index.vue | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index 843176f..c4c2eca 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -144,9 +144,9 @@ const tableConfig = reactive({ // } // ) if(authStore.roles.includes('superAdmin')) { - btn.push({label: '删除', auth: auths.edit, func: ()=>handleDel(row) , type: 'danger'}) + btn.push({label: '删除', auth: auths.del, func: ()=>handleDel(row) , type: 'danger'}) } else if(!row.template) { - btn.push({label: '删除', auth: auths.edit, func: ()=>handleDel(row) , type: 'danger'}) + btn.push({label: '删除', auth: auths.del, func: ()=>handleDel(row) , type: 'danger'}) } return (