From e457bc22651a117130818ce6b25f398214ff6597 Mon Sep 17 00:00:00 2001 From: Zhousg Date: Wed, 17 May 2023 22:12:56 +0800 Subject: [PATCH] docs(Area): fix docs events (#11870) --- packages/vant/src/area/README.md | 6 +++--- packages/vant/src/area/README.zh-CN.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/vant/src/area/README.md b/packages/vant/src/area/README.md index 8c96b812a..4c8dd2aee 100644 --- a/packages/vant/src/area/README.md +++ b/packages/vant/src/area/README.md @@ -137,9 +137,9 @@ export default { | Event | Description | Arguments | | --- | --- | --- | -| confirm | Emitted when the confirm button is clicked | _{ selectedValues, selectedOptions }_ | -| cancel | Emitted when the cancel button is clicked | _{ selectedValues, selectedOptions }_ | -| change | Emitted when current option is changed | _{ selectedValues, selectedOptions, columnIndex }_ | +| confirm | Emitted when the confirm button is clicked | _{ selectedValues, selectedOptions, selectedIndexes }_ | +| cancel | Emitted when the cancel button is clicked | _{ selectedValues, selectedOptions, selectedIndexes }_ | +| change | Emitted when current option is changed | _{ selectedValues, selectedOptions, selectedIndexes, columnIndex }_ | ### Slots diff --git a/packages/vant/src/area/README.zh-CN.md b/packages/vant/src/area/README.zh-CN.md index cf0af8467..d8535c93a 100644 --- a/packages/vant/src/area/README.zh-CN.md +++ b/packages/vant/src/area/README.zh-CN.md @@ -141,9 +141,9 @@ export default { | 事件 | 说明 | 回调参数 | | --- | --- | --- | -| confirm | 点击完成按钮时触发 | _{ selectedValues, selectedOptions }_ | -| cancel | 点击取消按钮时触发 | _{ selectedValues, selectedOptions }_ | -| change | 选项改变时触发 | _{ selectedValues, selectedOptions, columnIndex }_ | +| confirm | 点击完成按钮时触发 | _{ selectedValues, selectedOptions, selectedIndexes }_ | +| cancel | 点击取消按钮时触发 | _{ selectedValues, selectedOptions, selectedIndexes }_ | +| change | 选项改变时触发 | _{ selectedValues, selectedOptions, selectedIndexes, columnIndex }_ | ### Slots