gjy %!s(int64=2) %!d(string=hai) anos
pai
achega
a06a5fef97
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      pages/user/setUp.vue

+ 8 - 0
pages/user/setUp.vue

@@ -292,6 +292,14 @@
 				uni.clearStorage({
 					success: function(res) {
 						console.log('success');
+						uni.hideTabBarRedDot({
+							index: 3
+						})
+						that.$api.doRequest('post', '/auth/api/logout').then(res => {
+							if (res.data.data) {
+						
+							}
+						})
 						that.$store.commit('logout')
 						that.$api.logout()
 						// plus.nativeUI.toast(