MS-IOHQJGHXZHQD\Administrator hace 6 días
padre
commit
d02ec03d80
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/utils/index.js

+ 2 - 2
src/utils/index.js

@@ -100,8 +100,8 @@ const otherUtil = {
 			modalText = '请登录账号后再操作',
 		} = 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;
 
 		// 后退参数