Browse Source

跳转二期提交

v4
蟑螂恶霸 1 month ago
parent
commit
36c3ebda8d
  1. 10
      src/views/enforceHome.vue

10
src/views/enforceHome.vue

@ -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.

Loading…
Cancel
Save