From 61c768fa919dd95eac250d496b5f9d36a1ddbf62 Mon Sep 17 00:00:00 2001 From: eiinu Date: Tue, 7 May 2024 14:47:33 +0800 Subject: [PATCH] =?UTF-8?q?feat(number-keyboard):=20=E6=96=B0=E5=A2=9E=20c?= =?UTF-8?q?onfirm=20=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../__VUE/numberkeyboard/doc.en-US.md | 1 + src/packages/__VUE/numberkeyboard/doc.md | 1 + src/packages/__VUE/numberkeyboard/doc.taro.md | 1 + .../__VUE/numberkeyboard/index.taro.vue | 82 ++++++++----------- src/packages/__VUE/numberkeyboard/index.vue | 80 ++++++++---------- 5 files changed, 67 insertions(+), 98 deletions(-) diff --git a/src/packages/__VUE/numberkeyboard/doc.en-US.md b/src/packages/__VUE/numberkeyboard/doc.en-US.md index 88569bb99b..5176239a08 100644 --- a/src/packages/__VUE/numberkeyboard/doc.en-US.md +++ b/src/packages/__VUE/numberkeyboard/doc.en-US.md @@ -63,6 +63,7 @@ app.use(NumberKeyboard) | delete | Emitted when the delete key is pressed | - | | close | Emitted when the close button or non-keyboard area is clicked is clicked | - | | blur | Emitted when the close button is clicked or the keyboard is blurred | - | +| confirm `version` | Emitted when the confirm button is clicked | - | ## Theming diff --git a/src/packages/__VUE/numberkeyboard/doc.md b/src/packages/__VUE/numberkeyboard/doc.md index a054adfc62..e60325b026 100644 --- a/src/packages/__VUE/numberkeyboard/doc.md +++ b/src/packages/__VUE/numberkeyboard/doc.md @@ -62,6 +62,7 @@ app.use(NumberKeyboard) | delete | 点击删除键时触发 | - | | close | 点击关闭按钮时触发 | - | | blur | 点击关闭按钮或非键盘区域时触发 | - | +| confirm `version` | 点击确认按钮 | - | ## 主题定制 diff --git a/src/packages/__VUE/numberkeyboard/doc.taro.md b/src/packages/__VUE/numberkeyboard/doc.taro.md index 68c30af9ab..c454dc4710 100644 --- a/src/packages/__VUE/numberkeyboard/doc.taro.md +++ b/src/packages/__VUE/numberkeyboard/doc.taro.md @@ -62,6 +62,7 @@ app.use(NumberKeyboard) | input | 点击按键时触发 | 按键内容 | | delete | 点击删除键时触发 | - | | close | 点击关闭按钮或非键盘区域时触发 | - | +| confirm `version` | 点击确认按钮 | - | ## 主题定制 diff --git a/src/packages/__VUE/numberkeyboard/index.taro.vue b/src/packages/__VUE/numberkeyboard/index.taro.vue index c1e4b9352a..32f817b666 100644 --- a/src/packages/__VUE/numberkeyboard/index.taro.vue +++ b/src/packages/__VUE/numberkeyboard/index.taro.vue @@ -1,14 +1,7 @@