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: {
|
||||
// 所有的图表已经 mounted
|
||||
ready () {
|
||||
return !this.chart.find(e => !e.ready)
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
// 在所有的图表 mounted 后加载数据
|
||||
ready (ready) {
|
||||
if (ready) {
|
||||
this.syncData()
|
||||
|
||||
@@ -114,11 +114,13 @@ export default {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
// 所有的图表已经 mounted
|
||||
ready () {
|
||||
return !this.chart.find(e => !e.ready)
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
// 在所有的图表 mounted 后加载数据
|
||||
ready (ready) {
|
||||
if (ready) {
|
||||
this.syncData()
|
||||
|
||||
Reference in New Issue
Block a user