mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化vcFramework
This commit is contained in:
parent
c5ca6b9534
commit
10ecfb675f
@ -762,6 +762,10 @@
|
||||
window.location.href = _header['location'];
|
||||
return;
|
||||
}
|
||||
if(res.status == 404){
|
||||
window.location.href = '/user.html#/login';
|
||||
return;
|
||||
}
|
||||
errorCallback(res.bodyText, res);
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
@ -804,6 +808,10 @@
|
||||
return;
|
||||
|
||||
}
|
||||
if(res.status == 404){
|
||||
window.location.href = '/user.html#/login';
|
||||
return;
|
||||
}
|
||||
errorCallback(res.bodyText, res);
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user