We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v3.3.0
微信小程序。使用AtForm构造表单,提交表单时不会触发onSubmit函数
使用AtForm和AtButton构造表单 并设置AtButton的formType属性为'submit'
export default function Page(){ return ( <AtForm onSubmit={()=>console.log(11)}> 提交 ) }
无 单纯地不生效 点了啥反应都没有
👽 Taro v3.6.23
Taro CLI 3.6.23 environment info: System: OS: Windows 11 10.0.22621 Binaries: Node: 20.10.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.21 - D:\npmDownload\npm_global\yarn.CMD npm: 10.4.0 - D:\npmDownload\npm_global\npm.CMD npmPackages: @tarojs/cli: 3.6.23 => 3.6.23 @tarojs/components: 3.6.23 => 3.6.23 @tarojs/helper: 3.6.23 => 3.6.23 @tarojs/plugin-framework-react: 3.6.23 => 3.6.23 @tarojs/plugin-platform-alipay: 3.6.23 => 3.6.23 @tarojs/plugin-platform-h5: 3.6.23 => 3.6.23 @tarojs/plugin-platform-jd: 3.6.23 => 3.6.23 @tarojs/plugin-platform-qq: 3.6.23 => 3.6.23 @tarojs/plugin-platform-swan: 3.6.23 => 3.6.23 @tarojs/plugin-platform-tt: 3.6.23 => 3.6.23 @tarojs/plugin-platform-weapp: 3.6.23 => 3.6.23 @tarojs/react: 3.6.23 => 3.6.23 @tarojs/runtime: 3.6.23 => 3.6.23 @tarojs/shared: 3.6.23 => 3.6.23 @tarojs/taro: 3.6.23 => 3.6.23 @tarojs/taro-loader: 3.6.23 => 3.6.23 @tarojs/webpack5-runner: 3.6.23 => 3.6.23 babel-preset-taro: 3.6.23 => 3.6.23 eslint-config-taro: 3.6.23 => 3.6.23 react: ^18.0.0 => 18.2.0 taro-ui: ^3.3.0 => 3.3.0
The text was updated successfully, but these errors were encountered:
欢迎提交 Issue~
如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏
如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。
Good luck and happy coding~
Sorry, something went wrong.
经测试,并未复现,请再次检查下
robinv8
No branches or pull requests
Taro UI 版本信息
v3.3.0
问题描述
微信小程序。使用AtForm构造表单,提交表单时不会触发onSubmit函数
复现步骤
使用AtForm和AtButton构造表单 并设置AtButton的formType属性为'submit'
复现代码
export default function Page(){
return (
<AtForm onSubmit={()=>console.log(11)}>
提交
)
}
报错信息
无 单纯地不生效 点了啥反应都没有
系统信息
👽 Taro v3.6.23
Taro CLI 3.6.23 environment info:
System:
OS: Windows 11 10.0.22621
Binaries:
Node: 20.10.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.21 - D:\npmDownload\npm_global\yarn.CMD
npm: 10.4.0 - D:\npmDownload\npm_global\npm.CMD
npmPackages:
@tarojs/cli: 3.6.23 => 3.6.23
@tarojs/components: 3.6.23 => 3.6.23
@tarojs/helper: 3.6.23 => 3.6.23
@tarojs/plugin-framework-react: 3.6.23 => 3.6.23
@tarojs/plugin-platform-alipay: 3.6.23 => 3.6.23
@tarojs/plugin-platform-h5: 3.6.23 => 3.6.23
@tarojs/plugin-platform-jd: 3.6.23 => 3.6.23
@tarojs/plugin-platform-qq: 3.6.23 => 3.6.23
@tarojs/plugin-platform-swan: 3.6.23 => 3.6.23
@tarojs/plugin-platform-tt: 3.6.23 => 3.6.23
@tarojs/plugin-platform-weapp: 3.6.23 => 3.6.23
@tarojs/react: 3.6.23 => 3.6.23
@tarojs/runtime: 3.6.23 => 3.6.23
@tarojs/shared: 3.6.23 => 3.6.23
@tarojs/taro: 3.6.23 => 3.6.23
@tarojs/taro-loader: 3.6.23 => 3.6.23
@tarojs/webpack5-runner: 3.6.23 => 3.6.23
babel-preset-taro: 3.6.23 => 3.6.23
eslint-config-taro: 3.6.23 => 3.6.23
react: ^18.0.0 => 18.2.0
taro-ui: ^3.3.0 => 3.3.0
补充信息
The text was updated successfully, but these errors were encountered: