fix: cleaned up the console.log call sneaked in by mistake

This commit is contained in:
Justineo
2023-02-08 16:32:30 +08:00
parent 6159c7d684
commit b86280e1f0
5 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,7 @@
## 6.5.4
* Cleaned up the `console.log` call sneaked in by mistake.
## 6.5.3
* Fixed default behavior for `notMerge` option (#691).

View File

@ -227,7 +227,7 @@ Drop `<script>` inside your HTML file and access the component via `window.VueEC
```html
<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/vue-echarts@6.5.3"></script>
<script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.5.4"></script>
```
<!-- vue3Scripts:end -->
@ -247,7 +247,7 @@ app.component('v-chart', VueECharts)
```html
<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/vue-echarts@6.5.3"></script>
<script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.5.4"></script>
```
<!-- vue2Scripts:end -->

View File

@ -227,7 +227,7 @@ import "echarts";
```html
<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/vue-echarts@6.5.3"></script>
<script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.5.4"></script>
```
<!-- vue3Scripts:end -->
@ -247,7 +247,7 @@ app.component('v-chart', VueECharts)
```html
<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/vue-echarts@6.5.3"></script>
<script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.5.4"></script>
```
<!-- vue2Scripts:end -->

View File

@ -1,6 +1,6 @@
{
"name": "vue-echarts",
"version": "6.5.3",
"version": "6.5.4",
"description": "Vue.js component for Apache ECharts.",
"author": "GU Yiling <justice360@gmail.com>",
"scripts": {

View File

@ -232,7 +232,6 @@ export default defineComponent({
if (!chart.value) {
init();
} else {
console.log(`notMerge: ${option !== oldOption}`);
chart.value.setOption(option, {
// mutating `option` will lead to `notMerge: false` and
// replacing it with new reference will lead to `notMerge: true`