feat: 同步地大更新

This commit is contained in:
2026-10-22 18:24:14 +08:00
parent 57d84724cb
commit 5d160f660f
6 changed files with 52 additions and 11 deletions
@@ -12,7 +12,10 @@ $.ajaxSetup({
contentType: "application/x-www-form-urlencoded;charset=utf-8",
success: function (response, textStatus, jqXHR) {
if (response.code !== 0) {
this.$message.error(response.msg)
// AJAX全局回调没有Vue实例上下文,使用Element全局消息组件展示业务错误。
if (window.ELEMENT && ELEMENT.Message) {
ELEMENT.Message.error(response.msg)
}
} else {
return response
}