no message
Former-commit-id: efb0083854f8f161bb59330e5a9812b25d27e0b5 Former-commit-id: ef916981e982c57dcd6044f16390b684523c7779 Former-commit-id: 32408dd3dfd9f0600323f4a49c6c285f9fc63f16
This commit is contained in:
@@ -143,11 +143,13 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
// 所有的图表已经 mounted
|
||||||
ready () {
|
ready () {
|
||||||
return !this.chart.find(e => !e.ready)
|
return !this.chart.find(e => !e.ready)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
// 在所有的图表 mounted 后加载数据
|
||||||
ready (ready) {
|
ready (ready) {
|
||||||
if (ready) {
|
if (ready) {
|
||||||
this.syncData()
|
this.syncData()
|
||||||
|
|||||||
@@ -114,11 +114,13 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
// 所有的图表已经 mounted
|
||||||
ready () {
|
ready () {
|
||||||
return !this.chart.find(e => !e.ready)
|
return !this.chart.find(e => !e.ready)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
// 在所有的图表 mounted 后加载数据
|
||||||
ready (ready) {
|
ready (ready) {
|
||||||
if (ready) {
|
if (ready) {
|
||||||
this.syncData()
|
this.syncData()
|
||||||
|
|||||||
Reference in New Issue
Block a user