Переглянути джерело

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

achao 3 роки тому
батько
коміт
40d9f0d2f0
2 змінених файлів з 4 додано та 4 видалено
  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 + ""
 						})
 					}