Browse Source

pelf: 处理手机端计数器

wangcz 7 năm trước cách đây
mục cha
commit
02222a8181
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      components/mobile/common/StatisticsMobile.vue

+ 3 - 0
components/mobile/common/StatisticsMobile.vue

@@ -50,6 +50,9 @@
       }
     },
     mounted () {
+      let yearDate = new Date().getFullYear()
+      this.nameRight[2] = (yearDate - 1) + '年交易'
+      this.nameRight[3] = yearDate + '年交易'
       this.$nextTick(() => {
         this.changeIntervalL(true)
         this.changeIntervalR(true)