mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-04 21:19:52 +08:00
fix: session到期错误提示
This commit is contained in:
parent
cea611a783
commit
ab31922cb7
@ -43,7 +43,9 @@ export default {
|
||||
success(response.data);
|
||||
} else {
|
||||
window.console.warn(response.data);
|
||||
Message.warning(response.data.message || response.data);
|
||||
if (response.data.message) {
|
||||
Message.warning(response.data.message);
|
||||
}
|
||||
}
|
||||
result.loading = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user