mirror of
https://github.com/ecomfe/vue-echarts.git
synced 2025-08-14 19:23:28 +08:00
fix: cleaned up the console.log
call sneaked in by mistake
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
## 6.5.4
|
||||||
|
|
||||||
|
* Cleaned up the `console.log` call sneaked in by mistake.
|
||||||
|
|
||||||
## 6.5.3
|
## 6.5.3
|
||||||
|
|
||||||
* Fixed default behavior for `notMerge` option (#691).
|
* Fixed default behavior for `notMerge` option (#691).
|
||||||
|
@ -227,7 +227,7 @@ Drop `<script>` inside your HTML file and access the component via `window.VueEC
|
|||||||
```html
|
```html
|
||||||
<script src="https://cdn.jsdelivr.net/npm/vue@3.2.45"></script>
|
<script src="https://cdn.jsdelivr.net/npm/vue@3.2.45"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/echarts@5.4.1"></script>
|
<script src="https://cdn.jsdelivr.net/npm/echarts@5.4.1"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.5.3"></script>
|
<script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.5.4"></script>
|
||||||
```
|
```
|
||||||
<!-- vue3Scripts:end -->
|
<!-- vue3Scripts:end -->
|
||||||
|
|
||||||
@ -247,7 +247,7 @@ app.component('v-chart', VueECharts)
|
|||||||
```html
|
```html
|
||||||
<script src="https://cdn.jsdelivr.net/npm/vue@2.7.14"></script>
|
<script src="https://cdn.jsdelivr.net/npm/vue@2.7.14"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/echarts@5.4.1"></script>
|
<script src="https://cdn.jsdelivr.net/npm/echarts@5.4.1"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.5.3"></script>
|
<script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.5.4"></script>
|
||||||
```
|
```
|
||||||
<!-- vue2Scripts:end -->
|
<!-- vue2Scripts:end -->
|
||||||
|
|
||||||
|
@ -227,7 +227,7 @@ import "echarts";
|
|||||||
```html
|
```html
|
||||||
<script src="https://cdn.jsdelivr.net/npm/vue@3.2.45"></script>
|
<script src="https://cdn.jsdelivr.net/npm/vue@3.2.45"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/echarts@5.4.1"></script>
|
<script src="https://cdn.jsdelivr.net/npm/echarts@5.4.1"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.5.3"></script>
|
<script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.5.4"></script>
|
||||||
```
|
```
|
||||||
<!-- vue3Scripts:end -->
|
<!-- vue3Scripts:end -->
|
||||||
|
|
||||||
@ -247,7 +247,7 @@ app.component('v-chart', VueECharts)
|
|||||||
```html
|
```html
|
||||||
<script src="https://cdn.jsdelivr.net/npm/vue@2.7.14"></script>
|
<script src="https://cdn.jsdelivr.net/npm/vue@2.7.14"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/echarts@5.4.1"></script>
|
<script src="https://cdn.jsdelivr.net/npm/echarts@5.4.1"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.5.3"></script>
|
<script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.5.4"></script>
|
||||||
```
|
```
|
||||||
<!-- vue2Scripts:end -->
|
<!-- vue2Scripts:end -->
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "vue-echarts",
|
"name": "vue-echarts",
|
||||||
"version": "6.5.3",
|
"version": "6.5.4",
|
||||||
"description": "Vue.js component for Apache ECharts.",
|
"description": "Vue.js component for Apache ECharts.",
|
||||||
"author": "GU Yiling <justice360@gmail.com>",
|
"author": "GU Yiling <justice360@gmail.com>",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -232,7 +232,6 @@ export default defineComponent({
|
|||||||
if (!chart.value) {
|
if (!chart.value) {
|
||||||
init();
|
init();
|
||||||
} else {
|
} else {
|
||||||
console.log(`notMerge: ${option !== oldOption}`);
|
|
||||||
chart.value.setOption(option, {
|
chart.value.setOption(option, {
|
||||||
// mutating `option` will lead to `notMerge: false` and
|
// mutating `option` will lead to `notMerge: false` and
|
||||||
// replacing it with new reference will lead to `notMerge: true`
|
// replacing it with new reference will lead to `notMerge: true`
|
||||||
|
Reference in New Issue
Block a user