zhengkaixin 4 years ago
parent
commit
9d9989fa51
1 changed files with 6 additions and 0 deletions
  1. 6 0
      pages/car/index.vue

+ 6 - 0
pages/car/index.vue

@@ -13,6 +13,12 @@
 		},
 		methods: {
 			
+		},
+		onLoad() {
+			uni.setTabBarBadge({
+			  index: 1,
+			  text: '8'
+			})
 		}
 	}
 </script>