Skip to content

Commit

Permalink
fix: fix type for autoresize (again), closes #810
Browse files Browse the repository at this point in the history
  • Loading branch information
Justineo committed Aug 19, 2024
1 parent 1378f6e commit b7852ab
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## 7.0.3

* Fixed type for `autoresize` (again).

## 7.0.2

* Fixed style injection regression.
* Fixed style injection regression (#805).

## 7.0.1

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Drop `<script>` inside your HTML file and access the component via `window.VueEC
```html
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].2"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].3"></script>
```
<!-- vue3Scripts:end -->

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

Expand Down
4 changes: 2 additions & 2 deletions README.zh-Hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ import "echarts";
```html
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].2"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].3"></script>
```
<!-- vue3Scripts:end -->

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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-echarts",
"version": "7.0.2",
"version": "7.0.3",
"description": "Vue.js component for Apache ECharts™.",
"license": "MIT",
"repository": "https://github.com/ecomfe/vue-echarts.git",
Expand Down
3 changes: 2 additions & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import type {
InitOptions,
UpdateOptions,
LoadingOptions,
AutoResize,
EChartsType,
Emits,
ThemeInjection,
Expand All @@ -25,7 +26,7 @@ declare type ChartProps = {
updateOptions?: UpdateOptions;
loadingOptions?: LoadingOptions;
option?: Option;
autoresize?: boolean;
autoresize?: AutoResize;
loading?: boolean;
group?: string;
manualUpdate?: boolean;
Expand Down

0 comments on commit b7852ab

Please sign in to comment.