armg 2 hete
szülő
commit
ac5a150729
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/router/index.ts

+ 1 - 1
src/router/index.ts

@@ -109,7 +109,7 @@ router.beforeEach(async (to, from, next) => {
     const isNewLoginMode = sessionStorage.getItem('isNewLoginMode') === 'true';
     if (isNewLoginMode) {
       if(wxid){
-        window.localStorage.setItem('weChat', wxid);
+        window.localStorage.setItem('weChat', JSON.stringify(wxid));
       }
       await handleWxidLoginMode(to, next, wxid, WecomType);
     } else {