feat: 完善api错误提示

This commit is contained in:
tbphp
2025-07-03 21:33:16 +08:00
parent 745c646530
commit c0594d068e
10 changed files with 127 additions and 220 deletions

View File

@@ -55,7 +55,7 @@ function handleSubmit() {
try {
loading.value = true;
await http.post("/settings", form.value);
await http.put("/settings", form.value);
fetchSettings();
} finally {
loading.value = false;