inleft
2022-02-23 81c155e7e00b83f06e6486a8d904428a44b8b275
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