zhupeng 3 years ago
parent
commit
c3551931c6
1 changed files with 2 additions and 1 deletions
  1. 2 1
      utils/mixin.js

+ 2 - 1
utils/mixin.js

@@ -14,8 +14,9 @@ var app = {
 		 return uni.getStorageSync(prefix + 'personInfo')
 	},
 	logoff:()=>{
+		
     	uni.removeStorageSync(prefix  + 'personInfo');
-		uni.getStorageSync(prefix + 'personInfoPlus');
+		uni.removeStorageSync(prefix + 'personInfoPlus');
 		uni.removeStorageSync(prefix+'wx_openId');
 		
 	},