Jelajahi Sumber

退出登录

tanxue 7 bulan lalu
induk
melakukan
bdc63cfc81
1 mengubah file dengan 5 tambahan dan 2 penghapusan
  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 @@
 						});
 					}
 				});
-			})
+			}) */
 		
 		 }