修复 套件版本无法添加用户的问题

This commit is contained in:
liufei
2024-06-11 17:59:49 +08:00
parent 1e74073344
commit bb1cc0b60e

View File

@@ -160,7 +160,7 @@ async function addUser() {
return return
} }
try { try {
const result: { [key: string]: any } = await api.post('user', userForm) const result: { [key: string]: any } = await api.post('user/', userForm)
if (result.success) { if (result.success) {
$toast.success('用户新增成功!') $toast.success('用户新增成功!')
loadAllUsers() loadAllUsers()