fix: 解决 TS 类型错误问题

This commit is contained in:
奔跑的面条
2023-06-27 18:11:37 +08:00
parent 952e61bbba
commit 9f3ca6b614
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)
}