ming 1 mesiac pred
rodič
commit
30d97afa07
1 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  1. 1 2
      src/pages/login.vue

+ 1 - 2
src/pages/login.vue

@@ -103,7 +103,6 @@ import { reactive, getCurrentInstance, toRefs, inject, nextTick } from "vue";
 import { useStores, commonStores, xunJianStores } from "@/store/modules/index";
 /*----------------------------------公共方法引入-----------------------------------*/
 import { decrypt } from "@/utils/jsencrypt";
-import Base64 from 'base-64';
 import config from "@/config";
 import { storageSystem } from "@/utils/storage";
 /*----------------------------------公共变量-----------------------------------*/
@@ -303,7 +302,7 @@ onShow(() => {
 
 onLoad((options) => {
   if(options.xcx){
-    state.xcxData=decrypt(decodeURI(options.xcx))
+    state.xcxData=decrypt(decodeURIComponent(options.xcx))
     login(state.xcxData)
   }
 });