Ver código fonte

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

achao 3 anos atrás
pai
commit
40d9f0d2f0
2 arquivos alterados com 4 adições e 4 exclusões
  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
 					let value = res3.data
 					if (value == 0) {
 					if (value == 0) {
 						uni.removeTabBarBadge({
 						uni.removeTabBarBadge({
-							index: 2
+							index: 3
 						})
 						})
 					}
 					}
 					that.$store.commit('$uStore', {
 					that.$store.commit('$uStore', {
@@ -172,7 +172,7 @@
 					});
 					});
 					if (value != 0 && value) {
 					if (value != 0 && value) {
 						uni.setTabBarBadge({
 						uni.setTabBarBadge({
-							index: 2,
+							index: 3,
 							text: value + ""
 							text: value + ""
 						})
 						})
 					}
 					}

+ 2 - 2
pages/order/index.vue

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