src/page/index/top/top-menu.vue
@@ -65,6 +65,7 @@ }; }, inject: ['index'], created() { this.getMenu(); @@ -73,7 +74,9 @@ window.remindIntervalId = setInterval(() => { this.getCount(); }, 2*60*1000)// window.myemitter.on('todochange', (data)=>{ this.getCount(); }); }, computed: {