Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

微信小程序使用button报错,Cannot read property 'replace' of undefined #690

Open
1 of 7 tasks
Lin-Min opened this issue Sep 26, 2024 · 3 comments
Open
1 of 7 tasks

Comments

@Lin-Min
Copy link

Lin-Min commented Sep 26, 2024

这个 Issue 涉及以下平台:

  • 微信小程序
  • 支付宝小程序
  • 百度小程序
  • 头条小程序
  • 快手小程序
  • QQ 轻应用
  • Web 平台(H5)

BUG 描述
微信小程序使用块级的button组件报错提交
复现步骤

期望结果
不报错
实际结果
报错
截图
image

环境
微信小程序
附加信息

@Lin-Min
Copy link
Author

Lin-Min commented Sep 26, 2024

image
使用官方提供的的designWidth配置,在使用button组件时报错

@Lin-Min
Copy link
Author

Lin-Min commented Sep 26, 2024

官方提供的这个方案是错误的,使用button时,input返回的是纯数字并没有file

@Lin-Min
Copy link
Author

Lin-Min commented Sep 26, 2024

image 请纠正官网示例

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant