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