diff --git a/project/xumu/AppAccountManage/AppAccountManage.vue b/project/xumu/AppAccountManage/AppAccountManage.vue index b7b99237..50d03184 100644 --- a/project/xumu/AppAccountManage/AppAccountManage.vue +++ b/project/xumu/AppAccountManage/AppAccountManage.vue @@ -28,7 +28,7 @@ {{ row.status == 1 ? '禁用' : '启用' }} 编辑 重置密码 - 删除 + 删除 @@ -193,8 +193,13 @@ export default { } }) }, - handleDelete(ids) { - this.$confirm("是否要删除该账号?").then(() => { + handleDelete(row) { + const {id: ids, authStatus, configStatus} = row + let text = "是否要删除该账号?" + if (authStatus == 1) { + text = configStatus == 1 ? "该账户已经认证,是否确认删除该账户?" : "该账户已经认证及配置,是否确认删除该账户?" + } + this.$confirm(text).then(() => { this.instance.post("/admin/user/del", null, { params: {ids} }).then(res => {