fix: java后端接口对接,联调测试问题修改。

This commit is contained in:
tianyongbao
2026-01-15 11:34:03 +08:00
parent f5ddf1e120
commit b1bc6c174c
16 changed files with 216 additions and 126 deletions

View File

@@ -370,8 +370,19 @@ function save() {
url: "/pages/main/home",
});
}, 1500);
} else {
// 显示错误提示
state.show = true;
state.msg = res.msg || "保存失败,请重试";
state.type = "fail";
}
})
.catch((error) => {
// 处理网络错误等异常情况
state.show = true;
state.msg = "网络错误,请重试";
state.type = "fail";
})
.finally(() => {
isLoading.value = false;
});