MS-IOHQJGHXZHQD\Administrator 6 dias atrás
pai
commit
d02ec03d80
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/utils/index.js

+ 2 - 2
src/utils/index.js

@@ -100,8 +100,8 @@ const otherUtil = {
 			modalText = '请登录账号后再操作',
 			modalText = '请登录账号后再操作',
 		} = options;
 		} = options;
 		
 		
-		//const token = uni.getStorageSync('access-token') || '';
-		const token = (uni.getStorageSync('wx_phone') && uni.getStorageSync('access-token')) || '';
+		const token = uni.getStorageSync('access-token') || '';
+		//const token = (uni.getStorageSync('wx_phone') && uni.getStorageSync('access-token')) || '';
 		const isLogin = !!token;
 		const isLogin = !!token;
 
 
 		// 后退参数
 		// 后退参数