diff --git a/src/views/setting/AccountSettingAccount.vue b/src/views/setting/AccountSettingAccount.vue index 3ac76de1..467019d2 100644 --- a/src/views/setting/AccountSettingAccount.vue +++ b/src/views/setting/AccountSettingAccount.vue @@ -160,7 +160,7 @@ async function addUser() { return } try { - const result: { [key: string]: any } = await api.post('user', userForm) + const result: { [key: string]: any } = await api.post('user/', userForm) if (result.success) { $toast.success('用户新增成功!') loadAllUsers()