mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 00:02:51 +08:00
fix: 解决 TS 类型错误问题
This commit is contained in:
parent
952e61bbba
commit
9f3ca6b614
@ -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)
|
||||
}
|
||||
|
@ -11,7 +11,7 @@
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"lib": ["es6", "ESNext", "dom"],
|
||||
"types": ["vite/client", "naive-ui/volar"],
|
||||
"types": ["vite/client"],
|
||||
"paths": {
|
||||
"@/*": ["src/*"],
|
||||
"/#/*": ["types/*"]
|
||||
|
Loading…
Reference in New Issue
Block a user