diff --git a/README.md b/README.md index 9ad186b..c4fc6ab 100644 --- a/README.md +++ b/README.md @@ -439,13 +439,14 @@ import { THEME_KEY } from 'vue-echarts' - `convertToPixel` [→](https://echarts.apache.org/en/api.html#echartsInstance.convertToPixel) - `convertFromPixel` [→](https://echarts.apache.org/en/api.html#echartsInstance.convertFromPixel) - `containPixel` [→](https://echarts.apache.org/en/api.html#echartsInstance.containPixel) -- `showLoading` [→](https://echarts.apache.org/en/api.html#echartsInstance.showLoading) -- `hideLoading` [→](https://echarts.apache.org/en/api.html#echartsInstance.hideLoading) - `getDataURL` [→](https://echarts.apache.org/en/api.html#echartsInstance.getDataURL) - `getConnectedDataURL` [→](https://echarts.apache.org/en/api.html#echartsInstance.getConnectedDataURL) - `clear` [→](https://echarts.apache.org/en/api.html#echartsInstance.clear) - `dispose` [→](https://echarts.apache.org/en/api.html#echartsInstance.dispose) +> [!NOTE] +> [`showLoading`](https://echarts.apache.org/en/api.html#echartsInstance.showLoading) and [`hideLoading`](https://echarts.apache.org/en/api.html#echartsInstance.hideLoading) are not exposed. Use the **`loading`** and **`loading-options`** props. + ### Static Methods Static methods can be accessed from [`echarts` itself](https://echarts.apache.org/en/api.html#echarts). diff --git a/README.zh-Hans.md b/README.zh-Hans.md index 897a345..d03f762 100644 --- a/README.zh-Hans.md +++ b/README.zh-Hans.md @@ -439,13 +439,14 @@ import { THEME_KEY } from 'vue-echarts' - `convertToPixel` [→](https://echarts.apache.org/zh/api.html#echartsInstance.convertToPixel) - `convertFromPixel` [→](https://echarts.apache.org/zh/api.html#echartsInstance.convertFromPixel) - `containPixel` [→](https://echarts.apache.org/zh/api.html#echartsInstance.containPixel) -- `showLoading` [→](https://echarts.apache.org/zh/api.html#echartsInstance.showLoading) -- `hideLoading` [→](https://echarts.apache.org/zh/api.html#echartsInstance.hideLoading) - `getDataURL` [→](https://echarts.apache.org/zh/api.html#echartsInstance.getDataURL) - `getConnectedDataURL` [→](https://echarts.apache.org/zh/api.html#echartsInstance.getConnectedDataURL) - `clear` [→](https://echarts.apache.org/zh/api.html#echartsInstance.clear) - `dispose` [→](https://echarts.apache.org/zh/api.html#echartsInstance.dispose) +> [!NOTE] +> [`showLoading`](https://echarts.apache.org/zh/api.html#echartsInstance.showLoading) 和 [`hideLoading`](https://echarts.apache.org/zh/api.html#echartsInstance.hideLoading) 未被暴露,请使用 **`loading`** 和 **`loading-options`** prop。 + ### 静态方法 静态方法请直接通过 [`echarts` 本身](https://echarts.apache.org/zh/api.html#echarts)进行调用。