diff --git a/README.md b/README.md index 82ae31f..fb87c20 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,8 @@ +

Vue ECharts

Vue ECharts

Vue.js component for Apache ECharts™.

npm version View demo 前往中文版

-

Open in Codeflow Edit in CodeSandbox

- ---- > Still using Vue 2? Read v7 docs [here →](https://github.com/ecomfe/vue-echarts/tree/7.x) @@ -155,8 +153,7 @@ See more examples [here](https://github.com/ecomfe/vue-echarts/tree/main/demo). ECharts' universal interface. Modifying this prop will trigger ECharts' `setOption` method. Read more [here →](https://echarts.apache.org/en/option.html) - > [!TIP] - > When `update-options` is not specified, `notMerge: false` will be specified by default when the `setOption` method is called if the `option` object is modified directly and the reference remains unchanged; otherwise, if a new reference is bound to `option`, `notMerge: true` will be specified. + > 💡 When `update-options` is not specified, `notMerge: false` will be specified by default when the `setOption` method is called if the `option` object is modified directly and the reference remains unchanged; otherwise, if a new reference is bound to `option`, `notMerge: true` will be specified. - `update-options: object` diff --git a/README.zh-Hans.md b/README.zh-Hans.md index e7279aa..1e5d1f9 100644 --- a/README.zh-Hans.md +++ b/README.zh-Hans.md @@ -1,10 +1,8 @@ +

Vue ECharts

Vue ECharts

Apache ECharts™ 的 Vue.js 组件。

-

npm 版本 查看演示

-

Open in Codeflow Edit in CodeSandbox

- ---- +

npm 版本 查看演示

> 还在使用 Vue 2?可以继续阅读老版本的文档。[前往 →](https://github.com/ecomfe/vue-echarts/blob/7.x/README.zh-Hans.md) @@ -155,8 +153,7 @@ app.component('v-chart', VueECharts) ECharts 的万能接口。修改这个 prop 会触发 ECharts 实例的 `setOption` 方法。查看[详情 →](https://echarts.apache.org/zh/option.html) - > [!TIP] - > 在没有指定 `update-options` 时,如果直接修改 `option` 对象而引用保持不变,`setOption` 方法调用时将默认指定 `notMerge: false`;否则,如果为 `option` 绑定一个新的引用,将指定 `notMerge: true`。 + > 💡 在没有指定 `update-options` 时,如果直接修改 `option` 对象而引用保持不变,`setOption` 方法调用时将默认指定 `notMerge: false`;否则,如果为 `option` 绑定一个新的引用,将指定 `notMerge: true`。 - `update-options: object`