inleft
2022-02-25 fc0c102554f509989dd74b199f298a67f266c3c8
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