Browse Source

退出登录

tanxue 7 months ago
parent
commit
bdc63cfc81
1 changed files with 5 additions and 2 deletions
  1. 5 2
      pages/my/index.vue

+ 5 - 2
pages/my/index.vue

@@ -28,7 +28,10 @@
 		
 		
 		 }
 		 }
 	const quit = ()=>{
 	const quit = ()=>{
-			logout().then(res=>{
+		uni.navigateTo({
+			url: '/pages/login'
+		});
+			/* logout().then(res=>{
 				uni.removeStorage({
 				uni.removeStorage({
 					key: 'Mta-Auth',
 					key: 'Mta-Auth',
 					success: function (res) {
 					success: function (res) {
@@ -38,7 +41,7 @@
 						});
 						});
 					}
 					}
 				});
 				});
-			})
+			}) */
 		
 		
 		 }
 		 }