Parcourir la source

Merge branch 'master' of http://git.zthymaoyi.com/gongdecai/wangluohuoyun-app

achao il y a 3 ans
Parent
commit
40d9f0d2f0
2 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 2 2
      pages/mine/index.vue
  2. 2 2
      pages/order/index.vue

+ 2 - 2
pages/mine/index.vue

@@ -163,7 +163,7 @@
 					let value = res3.data
 					if (value == 0) {
 						uni.removeTabBarBadge({
-							index: 2
+							index: 3
 						})
 					}
 					that.$store.commit('$uStore', {
@@ -172,7 +172,7 @@
 					});
 					if (value != 0 && value) {
 						uni.setTabBarBadge({
-							index: 2,
+							index: 3,
 							text: value + ""
 						})
 					}

+ 2 - 2
pages/order/index.vue

@@ -311,7 +311,7 @@
 					let value = res3.data
 					if (value == 0) {
 						uni.removeTabBarBadge({
-							index: 2
+							index: 3
 						})
 					}
 					that.$store.commit('$uStore', {
@@ -320,7 +320,7 @@
 					});
 					if (value != 0 && value) {
 						uni.setTabBarBadge({
-							index: 2,
+							index: 3,
 							text: value + ""
 						})
 					}