Browse Source

fix: 用户删除

zhangrenyuan/feature-20250714163943-金币前端二期
lihui 2 weeks ago
parent
commit
a2e03fc758
  1. 5
      src/views/permissions/permission.vue

5
src/views/permissions/permission.vue

@ -792,9 +792,10 @@ onMounted(async function () {
:disabled="scope.row.adminStatus === 0 ||scope.row.account === adminData.account ">
修改权限
</el-button>
<el-popconfirm title="确定将此用户删除吗?" @confirm="delRoleConfirm">
<el-popconfirm title="确定将此用户删除吗?" @confirm="delConfirm">
<template #reference>
<el-button type="danger" text @click="del(scope.row)" :disabled="scope.row.adminStatus === 0 || scope.row.account === adminData.account">
<el-button type="danger" text @click="del(scope.row)"
:disabled="scope.row.adminStatus === 0 || scope.row.account === adminData.account">
删除
</el-button>
</template>

Loading…
Cancel
Save