inleft
2022-08-12 0dd41bd8cee430d3a948b89c664cb511c400993c
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;
      }