src/components/mini/tagTime.vue
@@ -45,13 +45,19 @@ created() { this.year = this.$route.query.year; this.month = this.$route.query.month; archiveGroup({ year: this.year, month: this.month }).then((res) => { this.list = res.data; }) }, watch: { '$route'(to, from) { if ("tagTime" === to.name) { this.year = this.$route.query.year; this.month = this.$route.query.month; this.$message.info('loading',0.3); this.$message.info('loading', 0.3); archiveGroup({ year: this.year, month: this.month