Skip to content

Commit

Permalink
fix(#783): chart should display after activation in <keep-alive>
Browse files Browse the repository at this point in the history
  • Loading branch information
Justineo committed May 7, 2024
1 parent a8e30b1 commit e651d32
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 6.7.2

* Fixed that charts inside `<keep-alive>` failed to display after activation.

## 6.7.1

* Fixed that native events won't actually trigger.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,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].0"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].2"></script>
```
<!-- vue3Scripts:end -->

Expand All @@ -258,7 +258,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].0"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].2"></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 @@ -238,7 +238,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].0"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].2"></script>
```
<!-- vue3Scripts:end -->

Expand All @@ -258,7 +258,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].0"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].2"></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": "6.7.1",
"version": "6.7.2",
"description": "Vue.js component for Apache ECharts™.",
"author": "GU Yiling <[email protected]>",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/style.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
x-vue-echarts{display:block;position:relative;width:100%;height:100%;min-width:0}
.vue-echarts-inner{position:absolute;top:0;right:0;bottom:0;left:0}
.vue-echarts-inner{position:absolute!important;top:0;right:0;bottom:0;left:0}

0 comments on commit e651d32

Please sign in to comment.