inleft
2022-08-26 fa1bd95d533444d7360d1ada127b7a3279a3901f
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
@@ -66,11 +72,13 @@
<style lang="less">
   .ant-timeline-item-content {
      a {
         color: #555;
      }
      span {
         line-height: 30px;
      }