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