Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
@@ -26,7 +26,7 @@ instance.interceptors.response.use(
|
||||
function (response) {
|
||||
util.$hideLoading();
|
||||
if (response.data.code === 1) {
|
||||
util.$toast(response.data.msg);
|
||||
util.$toast({title: response.data.msg, duration: 3000});
|
||||
} else if (response.data.code == 2) {
|
||||
//首次静默登录异常不做任何返回
|
||||
} else if (response.data.code === 401) {
|
||||
|
||||
Reference in New Issue
Block a user