diff --git a/compiled/alipay/src/NumberKeyboard/index.axml b/compiled/alipay/src/NumberKeyboard/index.axml index 632da6ec7..11aabd3b5 100644 --- a/compiled/alipay/src/NumberKeyboard/index.axml +++ b/compiled/alipay/src/NumberKeyboard/index.axml @@ -38,7 +38,7 @@ {{itemKey}} @@ -57,21 +57,21 @@ a:if="{{point}}" class="ant-number-keyboard-kb_number ant-number-keyboard-kb_point ant-number-keyboard-kb_flex" data-key="." - onTap="tapButton" + onTouchStart="tapButton" > . 0 0 @@ -94,7 +94,7 @@ a:if="{{point}}" class="ant-number-keyboard-kb_number ant-number-keyboard-kb_point" data-key="." - onTap="tapButton" + onTouchStart="tapButton" > . @@ -107,7 +107,7 @@ diff --git a/compiled/wechat/src/NumberKeyboard/index.wxml b/compiled/wechat/src/NumberKeyboard/index.wxml index fcffea223..8a0d0d30d 100644 --- a/compiled/wechat/src/NumberKeyboard/index.wxml +++ b/compiled/wechat/src/NumberKeyboard/index.wxml @@ -36,7 +36,7 @@ {{itemKey}} @@ -53,17 +53,17 @@ wx:if="{{point}}" class="ant-number-keyboard-kb_number ant-number-keyboard-kb_point ant-number-keyboard-kb_flex" data-key="." - bind:tap="tapButton" + bind:touchstart="tapButton" >. 0 0 . @@ -95,7 +95,7 @@ diff --git a/package.json b/package.json index 107819ef2..a939f2b42 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@diamondyuan/gulp-ifdef": "^0.3.0", "@types/gulp": "^4.0.13", "@types/less": "^3.0.3", - "@types/node": "^20.14.2", + "@types/node": "20.14.2", "@types/through2": "^2.0.39", "@typescript-eslint/eslint-plugin": "^5.6.0", "@typescript-eslint/parser": "^5.6.0", @@ -125,4 +125,4 @@ ], "license": "MIT", "homepage": "https://github.com/ant-design/ant-design-mini" -} \ No newline at end of file +} diff --git a/src/NumberKeyboard/index.axml b/src/NumberKeyboard/index.axml index 86460b016..aa41f30cd 100644 --- a/src/NumberKeyboard/index.axml +++ b/src/NumberKeyboard/index.axml @@ -38,7 +38,7 @@ + onTouchStart="tapButton"> {{ itemKey }} @@ -54,19 +54,19 @@ a:if="{{ point }}" class="ant-number-keyboard-kb_number ant-number-keyboard-kb_point ant-number-keyboard-kb_flex" data-key="." - onTap="tapButton"> + onTouchStart="tapButton"> . + onTouchStart="tapButton"> 0 + onTouchStart="tapButton"> @@ -78,14 +78,14 @@ + onTouchStart="tapButton"> 0 + onTouchStart="tapButton"> . @@ -96,14 +96,14 @@ + onTouchStart="tapButton">