|
|
|
@ -287,17 +287,17 @@ onMounted(() => { |
|
|
|
fullUrl.indexOf("code=") + 5, |
|
|
|
fullUrl.indexOf("&state="), |
|
|
|
); |
|
|
|
console.log(useCommon.firstLoad); |
|
|
|
console.log("=======================================================",useCommon.firstLoad); |
|
|
|
isLoading.value = useCommon.firstLoad; |
|
|
|
// getSzyptLoginAuth(route?.query?.code,success =>{ |
|
|
|
getSzyptLoginAuth( |
|
|
|
code, |
|
|
|
(success) => { |
|
|
|
|
|
|
|
// todo 测试时指定账号去2.0版本 start. |
|
|
|
if(success.data.userId==17608417058 || success.data.userId==7897){ |
|
|
|
window.location.href="http://jdm.szssfj.cn/efcode20-enf-app/enforcement/loginByV1System?loginUserId=d76453e3-6945-4b02-9943-efbd0e8aee9e"; |
|
|
|
} |
|
|
|
// if(success.data.userId==17608417058 || success.data.userId==7897){ |
|
|
|
// // if(success.data.userId==17608417058){ |
|
|
|
// window.location.href="http://jdm.szssfj.cn/efcode20-enf-app/enforcement/loginByV1System?loginUserId=d76453e3-6945-4b02-9943-efbd0e8aee9e"; |
|
|
|
// } |
|
|
|
// todo 测试时指定账号去2.0版本 end. |
|
|
|
|
|
|
|
|
|
|
|
|