update 重新登录逻辑
This commit is contained in:
@@ -283,6 +283,8 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
data: {
|
||||
idCard:'加载中...',
|
||||
userName:'加载中...',
|
||||
policiesRegulationsLists: {
|
||||
totalCount: 0,
|
||||
},
|
||||
@@ -313,7 +315,7 @@ export default {
|
||||
this.data = data.data.data;
|
||||
this.setZwUserAplus(this.data.idCard, this.data.userName);
|
||||
} else {
|
||||
var errorCodes = ["6001", "6501"];
|
||||
var errorCodes = [6001, 6501];
|
||||
if (errorCodes.indexOf(data.data.bizCode) > -1) {
|
||||
window.location.replace(
|
||||
"https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs"
|
||||
|
||||
Reference in New Issue
Block a user