| commit | 96f859c928f33a690331abc5e69add5b18b437ba | [log] [tgz] |
|---|---|---|
| author | houyusheng <1440248234@qq.com> | Wed Oct 05 21:36:51 2022 +0800 |
| committer | houyusheng <1440248234@qq.com> | Wed Oct 05 21:36:51 2022 +0800 |
| tree | a950ec8db8ee09f5394bca8cca3b3542e7a8a690 | |
| parent | 81321a63a91d98378114153d446a2713e9c10844 [diff] |
fix: #17667 EChartsInitOpts type error about height and width
diff --git a/src/core/echarts.ts b/src/core/echarts.ts index 65ac63f..e36d036 100644 --- a/src/core/echarts.ts +++ b/src/core/echarts.ts
@@ -328,8 +328,8 @@ useCoarsePointer?: boolean, pointerSize?: number, ssr?: boolean, - width?: number, - height?: number + width?: number | string, + height?: number | string }; class ECharts extends Eventful<ECEventDefinition> {