Merge pull request #154 from Mattoids/main

This commit is contained in:
jxxghp
2024-06-11 18:43:06 +08:00
committed by GitHub
+1 -1
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()