mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-07-12 16:01:35 +08:00
修复 套件版本无法添加用户的问题
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