fix: 解决 TS 类型错误问题

This commit is contained in:
奔跑的面条
2023-06-27 18:11:37 +08:00
parent b1a0e7b5e2
commit b59c28b8ae
2 changed files with 2 additions and 2 deletions
@@ -63,7 +63,7 @@ watch(
() => props.chartConfig.option,
newVal => {
try {
updateDatasetHandler((newVal as OptionType).dataset)
updateDatasetHandler((newVal as any as OptionType).dataset)
} catch (error) {
console.log(error)
}