Skip to content

[Bug 上报] button组件的disable设置之后只能拦截@click事件,无法拦截open-type事件 #458

@HavocZhang

Description

@HavocZhang

Wot Design Uni 版本号

^1.3.5

平台

微信小程序

复现Demo地址

1

重现步骤

<wd-button :disabled="!isAgree" custom-style="width:100%" :open-type="isAgree ? 'agreePrivacyAuthorization' : ''" @agreeprivacyauthorization="handleAgree"></wd-button>

期望的结果是什么?

<wd-button :disabled="!isAgree" custom-style="width:100%" open-type="agreePrivacyAuthorization' @agreeprivacyauthorization="handleAgree"></wd-button>

实际的结果是什么?

无法拦截

环境信息

No response

其他补充信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions