mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-07 00:36:41 +08:00
Merge pull request #154 from Mattoids/main
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user