|
|
@ -77,7 +77,14 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
window.addEventListener("resize", async () => { |
|
|
|
let self = this; |
|
|
|
window.addEventListener("resize", () => { |
|
|
|
self.refresh(); |
|
|
|
}); |
|
|
|
}, |
|
|
|
methods:{ |
|
|
|
async refresh(){ |
|
|
|
console.log('更新坐标') |
|
|
|
this.isKeep = false; |
|
|
|
await delay(100) |
|
|
|
this.$refs.refMuliple.myChart.resize(); |
|
|
@ -94,9 +101,7 @@ export default { |
|
|
|
this.$refs.refRealWayDay.myChart.resize(); |
|
|
|
this.$refs.refRealWay.myChart.resize(); |
|
|
|
}) |
|
|
|
}); |
|
|
|
}, |
|
|
|
methods:{ |
|
|
|
}, |
|
|
|
bind(){ |
|
|
|
const _search = this.$refs.refSearch.getQuery(); |
|
|
|
const _progress = this.$refs.refProgress.getQuery(); |
|
|
|