Skip to content

Commit b7852ab

Browse files
committed
fix: fix type for autoresize (again), closes #810
1 parent 1378f6e commit b7852ab

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
## 7.0.3
2+
3+
* Fixed type for `autoresize` (again).
4+
15
## 7.0.2
26

3-
* Fixed style injection regression.
7+
* Fixed style injection regression (#805).
48

59
## 7.0.1
610

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Drop `<script>` inside your HTML file and access the component via `window.VueEC
214214
```html
215215
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
216216
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
217-
<script src="https://cdn.jsdelivr.net/npm/[email protected].2"></script>
217+
<script src="https://cdn.jsdelivr.net/npm/[email protected].3"></script>
218218
```
219219
<!-- vue3Scripts:end -->
220220

@@ -234,7 +234,7 @@ app.component('v-chart', VueECharts)
234234
```html
235235
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
236236
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
237-
<script src="https://cdn.jsdelivr.net/npm/[email protected].2"></script>
237+
<script src="https://cdn.jsdelivr.net/npm/[email protected].3"></script>
238238
```
239239
<!-- vue2Scripts:end -->
240240

README.zh-Hans.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ import "echarts";
214214
```html
215215
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
216216
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
217-
<script src="https://cdn.jsdelivr.net/npm/[email protected].2"></script>
217+
<script src="https://cdn.jsdelivr.net/npm/[email protected].3"></script>
218218
```
219219
<!-- vue3Scripts:end -->
220220

@@ -234,7 +234,7 @@ app.component('v-chart', VueECharts)
234234
```html
235235
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
236236
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
237-
<script src="https://cdn.jsdelivr.net/npm/[email protected].2"></script>
237+
<script src="https://cdn.jsdelivr.net/npm/[email protected].3"></script>
238238
```
239239
<!-- vue2Scripts:end -->
240240

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-echarts",
3-
"version": "7.0.2",
3+
"version": "7.0.3",
44
"description": "Vue.js component for Apache ECharts™.",
55
"license": "MIT",
66
"repository": "https://github.com/ecomfe/vue-echarts.git",

src/index.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import type {
66
InitOptions,
77
UpdateOptions,
88
LoadingOptions,
9+
AutoResize,
910
EChartsType,
1011
Emits,
1112
ThemeInjection,
@@ -25,7 +26,7 @@ declare type ChartProps = {
2526
updateOptions?: UpdateOptions;
2627
loadingOptions?: LoadingOptions;
2728
option?: Option;
28-
autoresize?: boolean;
29+
autoresize?: AutoResize;
2930
loading?: boolean;
3031
group?: string;
3132
manualUpdate?: boolean;

0 commit comments

Comments
 (0)