fix: delay first setOption until initial resize, update deps

This commit is contained in:
Justineo
2021-06-10 01:14:15 +08:00
parent 87d9f843ac
commit a77ecc726d
19 changed files with 5230 additions and 6284 deletions

View File

@ -12,27 +12,27 @@ export default function getData() {
source: [
{
Product: "Matcha Latte",
"2015": random(),
"2016": random(),
"2017": random()
2015: random(),
2016: random(),
2017: random()
},
{
Product: "Milk Tea",
"2015": random(),
"2016": random(),
"2017": random()
2015: random(),
2016: random(),
2017: random()
},
{
Product: "Cheese Cocoa",
"2015": random(),
"2016": random(),
"2017": random()
2015: random(),
2016: random(),
2017: random()
},
{
Product: "Walnut Brownie",
"2015": random(),
"2016": random(),
"2017": random()
2015: random(),
2016: random(),
2017: random()
}
]
},