Java旺

关注

init(dom: HTMLElement, theme?: string | object | undefined, opts?: EChartsInitOpts | undefined)

Java旺

关注

阅读 48

2022-01-31

这个主要是typescript的语法检测,只需要加上HTMLElement

document.querySelector("#main") as HTMLElement 

相关推荐

全栈顾问

【Robotframework】WebDriverException: Message: Expected [object Undefined] undefined to be a string

全栈顾问 60 0 0

三分梦_0bc3

Cannot read property ‘init‘ of undefined

三分梦_0bc3 91 0 0

四月天2021

PostCSS received undefined instead of CSS string

四月天2021 93 0 0

ZMXQQ233

Echarts 初始化TypeError Cannot read properties of undefined (reading ‘init‘)

ZMXQQ233 47 0 0

yundejia

Vue整合Echarts报错:“TypeError: Cannot read properties of undefined (reading ‘init‘)“

yundejia 154 0 0

花海书香

解决 Syntax Error Error PostCSS received undefined instead of CSS string

花海书香 332 0 0

中间件小哥

Pb(100) The method getType() is undefined for the type new TypeToken<List<String>>(){}

中间件小哥 57 0 0

一叶随风_c94d

解决 Syntax Error: Error: PostCSS received undefined instead of CSS string

一叶随风_c94d 65 0 0

影子喵喵喵

undefined reference to `dlopen‘ ‘SSL_library_init‘ `X509_certificate_type‘

影子喵喵喵 59 0 0

拾杨梅记

从十万行代码定位undefined is not an object (evaluating 't.length')

拾杨梅记 67 0 0

精彩评论(0)

0 0 举报