diff --git a/fuintAdmin/src/views/shopowner.vue b/fuintAdmin/src/views/shopowner.vue index 19cf0ad12..98b0660c0 100644 --- a/fuintAdmin/src/views/shopowner.vue +++ b/fuintAdmin/src/views/shopowner.vue @@ -325,7 +325,10 @@ export default { this.getDataCount() }, mounted() { - this.initChart() + setTimeout(() => { + this.initChart(); + }, 2000); + }, methods: { goList() { @@ -364,7 +367,7 @@ export default { console.log('dataAnalysisOilNumberList',this.dataAnalysisOilNumberList) console.log('dataAnalysisIfOilList',this.dataAnalysisIfOilList) console.log('dataAnalysisAllList',this.dataAnalysisAllList) - this.initChart() + // this.initChart() } }) }, @@ -406,7 +409,7 @@ export default { getStoreList() { selectStoreAmount(this.addDateRange({}, this.value2)).then(res => { this.storeList = res.data - this.initChart() + // this.initChart() }) }, // 选择机构信息 @@ -445,7 +448,7 @@ export default { getStoreAmount() { getDataBoard(this.addDateRange(this.queryParams, this.value1)).then(res => { this.storeAmount = res.data - this.initChart() + // this.initChart() }) }, countPercentage(upNum, downNum) {