Преглед изворни кода

Merge branch '管理后台' of xiongzhu/raex_back into master

panhui пре 3 година
родитељ
комит
c7350addcb
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/main/vue/src/widgets/Detail.vue

+ 2 - 2
src/main/vue/src/widgets/Detail.vue

@@ -83,8 +83,8 @@ export default {
         init() {
             this.$http.get('/statistic/statisticDetail').then(res => {
                 this.order = [
-                    { ...res.today, auction: 0, type: format(new Date(), 'mm-dd', new Date()) },
-                    { ...res.yesterday, auction: 0, type: format(addDays(new Date(), -1), 'mm-dd', new Date()) }
+                    { ...res.today, auction: 0, type: '今天' },
+                    { ...res.yesterday, auction: 0, type: '昨天' }
                 ];
                 this.myChart = new Chart(this.$refs.chart.getContext('2d'), {
                     type: 'bar',