From 10f95f787dac293859310bf5686a40603862c897 Mon Sep 17 00:00:00 2001 From: liulanlan Date: Mon, 21 Apr 2025 22:42:07 +0800 Subject: [PATCH] Docs: fix popconfirm events annotation bug(#23038) Popconfirm Pop-up Confirmation Box Documentation: Events Content Annotation Error * Update en-US\popconfirm.md * Update es\popconfirm.md * Update fr-FR\popconfirm.md * Update zh-CN\popconfirm.md --- examples/docs/en-US/popconfirm.md | 4 ++-- examples/docs/es/popconfirm.md | 4 ++-- examples/docs/fr-FR/popconfirm.md | 4 ++-- examples/docs/zh-CN/popconfirm.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/docs/en-US/popconfirm.md b/examples/docs/en-US/popconfirm.md index 321bce63cea..329a39037a4 100644 --- a/examples/docs/en-US/popconfirm.md +++ b/examples/docs/en-US/popconfirm.md @@ -56,5 +56,5 @@ You can customise Popconfirm like: ### Events | Event Name | Description | Parameters | |---------|--------|---------| -| confirm | triggers when click confirm button | — | -| cancel | triggers when click cancel button | — | \ No newline at end of file +| onConfirm | triggers when click confirm button | — | +| onCancel | triggers when click cancel button | — | \ No newline at end of file diff --git a/examples/docs/es/popconfirm.md b/examples/docs/es/popconfirm.md index 46a3788ef40..1a40f43bcb5 100644 --- a/examples/docs/es/popconfirm.md +++ b/examples/docs/es/popconfirm.md @@ -57,5 +57,5 @@ Se puede personalizar Popconfirm así: ### Eventos | Nombre Evento | Descripción | Parámetros | |---------|--------|---------| -| confirm | Se activa cuando se pulsa el botón de confirmación | — | -| cancel | Se activa cuando se pulsa el botón de cancelación | — | \ No newline at end of file +| onConfirm | Se activa cuando se pulsa el botón de confirmación | — | +| onCancel | Se activa cuando se pulsa el botón de cancelación | — | \ No newline at end of file diff --git a/examples/docs/fr-FR/popconfirm.md b/examples/docs/fr-FR/popconfirm.md index 321bce63cea..329a39037a4 100644 --- a/examples/docs/fr-FR/popconfirm.md +++ b/examples/docs/fr-FR/popconfirm.md @@ -56,5 +56,5 @@ You can customise Popconfirm like: ### Events | Event Name | Description | Parameters | |---------|--------|---------| -| confirm | triggers when click confirm button | — | -| cancel | triggers when click cancel button | — | \ No newline at end of file +| onConfirm | triggers when click confirm button | — | +| onCancel | triggers when click cancel button | — | \ No newline at end of file diff --git a/examples/docs/zh-CN/popconfirm.md b/examples/docs/zh-CN/popconfirm.md index 6dde3ce9571..f5fd964319d 100644 --- a/examples/docs/zh-CN/popconfirm.md +++ b/examples/docs/zh-CN/popconfirm.md @@ -56,5 +56,5 @@ Popconfirm 的属性与 Popover 很类似,因此对于重复属性,请参考 ### Events | 事件名称 | 说明 | 回调参数 | |---------|--------|---------| -| confirm | 点击确认按钮时触发 | — | -| cancel | 点击取消按钮时触发 | — | \ No newline at end of file +| onConfirm | 点击确认按钮时触发 | — | +| onCancel | 点击取消按钮时触发 | — | \ No newline at end of file