修复:修复后台删除用户后列表残留
This commit is contained in:
@@ -1013,6 +1013,8 @@ const handleDelete = async (record: any) => {
|
||||
await fetchUserList()
|
||||
return
|
||||
}
|
||||
userList.value = userList.value.filter(user => user.id !== record.id)
|
||||
pagination.total = Math.max(0, Number(pagination.total || 0) - 1)
|
||||
message.success('已移除当前店铺下的用户绑定')
|
||||
await fetchUserList()
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user