Skip to content

Commit bac77b3

Browse files
committed
docs: add note for showLoading and hideLoading method
1 parent 20be7e6 commit bac77b3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,9 @@ import { THEME_KEY } from 'vue-echarts'
444444
- `clear` [→](https://echarts.apache.org/en/api.html#echartsInstance.clear)
445445
- `dispose` [→](https://echarts.apache.org/en/api.html#echartsInstance.dispose)
446446
447+
> [!NOTE]
448+
> [`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.
449+
447450
### Static Methods
448451
449452
Static methods can be accessed from [`echarts` itself](https://echarts.apache.org/en/api.html#echarts).

README.zh-Hans.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,9 @@ import { THEME_KEY } from 'vue-echarts'
444444
- `clear` [→](https://echarts.apache.org/zh/api.html#echartsInstance.clear)
445445
- `dispose` [→](https://echarts.apache.org/zh/api.html#echartsInstance.dispose)
446446
447+
> [!NOTE]
448+
> [`showLoading`](https://echarts.apache.org/zh/api.html#echartsInstance.showLoading) 和 [`hideLoading`](https://echarts.apache.org/zh/api.html#echartsInstance.hideLoading) 未被暴露,请使用 **`loading`** 和 **`loading-options`** prop。
449+
447450
### 静态方法
448451
449452
静态方法请直接通过 [`echarts` 本身](https://echarts.apache.org/zh/api.html#echarts)进行调用。

0 commit comments

Comments
 (0)