This commit is contained in:
sijinhui
2024-08-07 23:26:20 +08:00
parent b874a82fab
commit 6d01e6fb93
4 changed files with 37 additions and 32 deletions

View File

@@ -88,7 +88,7 @@ export const useSdStore = createPersistStore<
method: "POST",
headers,
body: formData,
})
} as RequestInit)
.then((response) => response.json())
.then((resData) => {
if (resData.errors && resData.errors.length > 0) {