mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-08 18:23:45 +08:00
fix: fix bug for update user's power in admin page did not work
This commit is contained in:
@@ -283,6 +283,7 @@ const saveUser = function () {
|
||||
userEditFormRef.value.validate((valid) => {
|
||||
if (valid) {
|
||||
showUserEditDialog.value = false
|
||||
console.log(user.value)
|
||||
httpPost('/api/admin/user/save', user.value).then((res) => {
|
||||
ElMessage.success('操作成功!')
|
||||
if (add.value) {
|
||||
|
||||
Reference in New Issue
Block a user