App.vue
@@ -44,18 +44,18 @@ }, mounted() { var i = 0; setInterval(function() { i++ if (i % 2 == 0) { uni.showTabBarRedDot({ index: 1 }) } else { uni.hideTabBarRedDot({ index: 1 }) } }, 3000) // setInterval(function() { // i++ // if (i % 2 == 0) { // uni.showTabBarRedDot({ // index: 1 // }) // } else { // uni.hideTabBarRedDot({ // index: 1 // }) // } // }, 3000)