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