diff --git a/compiled/wechat/src/Stepper/index.wxml b/compiled/wechat/src/Stepper/index.wxml index 8ef83a8a6..46f0b2ab8 100644 --- a/compiled/wechat/src/Stepper/index.wxml +++ b/compiled/wechat/src/Stepper/index.wxml @@ -10,7 +10,7 @@ data-mode="minus" disabled="{{disabled || mixin.value !== '' && mixin.value !== undefined && mixin.value <= min}}" bind:tap="onTap" - onDisabledTap="onDisabledTap" + bind:disabledtap="onDisabledTap" > \ No newline at end of file diff --git a/scripts/axml/mapping.ts b/scripts/axml/mapping.ts index e639254b6..2c7958fb2 100644 --- a/scripts/axml/mapping.ts +++ b/scripts/axml/mapping.ts @@ -22,6 +22,9 @@ export const wechatCustomMapping = { 'checkbox-group': { onChange: 'bindchange', }, + 'ant-button': { + onDisabledTap: 'bind:disabledtap', + }, 'ant-textarea': { onChange: 'bind:change', },