feat:完善功能
This commit is contained in:
@@ -140,7 +140,7 @@
|
||||
},
|
||||
series: []
|
||||
}
|
||||
const updateOption = () => {
|
||||
const init = () => {
|
||||
if (params) {
|
||||
props.data.map((item, index) => {
|
||||
params.series[index].data = item.data
|
||||
@@ -167,7 +167,7 @@
|
||||
(val) => {
|
||||
if (val[0].length > 0 && val[1].length > 0) {
|
||||
setTimeout(() => {
|
||||
updateOption()
|
||||
init()
|
||||
}, 1000)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user