gjy 2 年之前
父節點
當前提交
a06a5fef97
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      pages/user/setUp.vue

+ 8 - 0
pages/user/setUp.vue

@@ -292,6 +292,14 @@
 				uni.clearStorage({
 				uni.clearStorage({
 					success: function(res) {
 					success: function(res) {
 						console.log('success');
 						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.$store.commit('logout')
 						that.$api.logout()
 						that.$api.logout()
 						// plus.nativeUI.toast(
 						// plus.nativeUI.toast(