Browse Source

添加千位份符

zq940222 3 months ago
parent
commit
9eea326a8e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/adweb/data/trafficAnalysis.vue

+ 2 - 2
src/views/adweb/data/trafficAnalysis.vue

@@ -59,7 +59,7 @@
           <a-row class="r2">
             <a-col style="width: 20%;">
               <p class="t1">日均访问量</p>
-              <p class="t3">{{ statistics.averageVisit }}</p>
+              <p class="t3">{{ statistics.averageVisit.toLocaleString() }}</p>
             </a-col>
             <a-col style="width: 20%;">
               <p class="t1">平均访问时长</p>
@@ -67,7 +67,7 @@
             </a-col>
             <a-col style="width: 20%;">
               <p class="t1">访客平均访问页面数</p>
-              <p class="t3">{{ statistics.averageVisitPage }}</p>
+              <p class="t3">{{ statistics.averageVisitPage.toLocaleString() }}</p>
             </a-col>
             <a-col style="width: 20%;">
               <p class="t1">跳出率</p>