Browse Source

退出登录

tanxue 7 tháng trước cách đây
mục cha
commit
bdc63cfc81
1 tập tin đã thay đổi với 5 bổ sung2 xóa
  1. 5 2
      pages/my/index.vue

+ 5 - 2
pages/my/index.vue

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