ソースを参照

pelf: 处理手机端计数器

wangcz 6 年 前
コミット
02222a8181
1 ファイル変更3 行追加0 行削除
  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)