This is an automated email from the ASF dual-hosted git repository. wangzx pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-doc.git
The following commit(s) were added to refs/heads/master by this push: new c5a80125 fix: remove array support from geo related actions. (apache/echarts#17751) c5a80125 is described below commit c5a80125d33c76024b759ed6f17d2a4720412ab4 Author: plainheart <y...@all-my-life.cn> AuthorDate: Thu Oct 13 12:48:15 2022 +0800 fix: remove array support from geo related actions. (apache/echarts#17751) --- en/api/action.md | 15 ++++++++++++++- zh/api/action.md | 15 ++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/en/api/action.md b/en/api/action.md index 81cfcaf8..46c3ec19 100644 --- a/en/api/action.md +++ b/en/api/action.md @@ -396,7 +396,8 @@ Actions related to [geo](option.html#geo) component, [geo](option.html#geo) shou {{ use: action-select( componentType='geo', - name='geo region' + name='geo region', + single=true ) }} @@ -505,7 +506,11 @@ dispatchAction({ {{ use: action-component-query(componentType = 'geo') }} + {{ if: ${single} }} + {{ use: action-component-item-query-single(componentType = 'geo', componentItemDesc = 'region') }} + {{ else }} {{ use: action-component-item-query-multiple(componentType = 'geo', componentItemDesc = 'region') }} + {{ /if }} }) ``` @@ -520,7 +525,11 @@ dispatchAction({ {{ use: action-component-query(componentType = 'geo') }} + {{ if: ${single} }} + {{ use: action-component-item-query-single(componentType = 'geo', componentItemDesc = 'region') }} + {{ else }} {{ use: action-component-item-query-multiple(componentType = 'geo', componentItemDesc = 'region') }} + {{ /if }} }) ``` **EVENT:** [${componentType}unselected](~events.${componentType}unselected) @@ -534,7 +543,11 @@ dispatchAction({ {{ use: action-component-query(componentType = 'geo') }} + {{ if: ${single} }} + {{ use: action-component-item-query-single(componentType = 'geo', componentItemDesc = 'region') }} + {{ else }} {{ use: action-component-item-query-multiple(componentType = 'geo', componentItemDesc = 'region') }} + {{ /if }} }) ``` **EVENT:** [${componentType}selectchanged](~events.${componentType}selectchanged) diff --git a/zh/api/action.md b/zh/api/action.md index 9b3c256c..b42b4845 100644 --- a/zh/api/action.md +++ b/zh/api/action.md @@ -393,7 +393,8 @@ dispatchAction({ {{ use: action-select( componentType='geo', - name='地图区域' + name='地图区域', + single=true ) }} ## brush @@ -490,7 +491,11 @@ dispatchAction({ {{ use: action-component-query(componentType = 'geo') }} + {{ if: ${single} }} + {{ use: action-component-item-query-single(componentType = 'geo', componentItemDesc = 'region') }} + {{ else }} {{ use: action-component-item-query-multiple(componentType = 'geo', componentItemDesc = 'region') }} + {{ /if }} }) ``` @@ -505,7 +510,11 @@ dispatchAction({ {{ use: action-component-query(componentType = 'geo') }} + {{ if: ${single} }} + {{ use: action-component-item-query-single(componentType = 'geo', componentItemDesc = 'region') }} + {{ else }} {{ use: action-component-item-query-multiple(componentType = 'geo', componentItemDesc = 'region') }} + {{ /if }} }) ``` **EVENT:** [${componentType}unselected](~events.${componentType}unselected) @@ -519,7 +528,11 @@ dispatchAction({ {{ use: action-component-query(componentType = 'geo') }} + {{ if: ${single} }} + {{ use: action-component-item-query-single(componentType = 'geo', componentItemDesc = 'region') }} + {{ else }} {{ use: action-component-item-query-multiple(componentType = 'geo', componentItemDesc = 'region') }} + {{ /if }} }) ``` **EVENT:** [${componentType}selectchanged](~events.${componentType}selectchanged) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org