perf: 优化会话过期500问题

This commit is contained in:
jiangweidong
2024-04-23 12:27:56 +08:00
committed by Bryan
parent 50cbb75b96
commit 95f29a584e
2 changed files with 5 additions and 2 deletions

View File

@@ -120,7 +120,7 @@
function onError (responseText, responseJson, status) {
setTimeout(function () {
toastr.error(responseJson.detail);
toastr.error(responseJson.detail || responseJson.error);
});
};