|
|
@@ -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',
|