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 添加 type 属性 #1410

Merged
merged 2 commits into from
May 27, 2023
Merged

button 添加 type 属性 #1410

merged 2 commits into from
May 27, 2023

Conversation

790891601
Copy link
Contributor

在form元素下的button按钮没有type属性,默认是submit属性,会导致点击提交表单

@Vanessa219 Vanessa219 merged commit 18ad772 into Vanessa219:dev May 27, 2023
@Vanessa219 Vanessa219 self-requested a review May 27, 2023 15:17
@Vanessa219 Vanessa219 added this to the 3.9 milestone May 27, 2023
@Vanessa219 Vanessa219 changed the title 在form元素下的button按钮没有type属性 button 添加 type 属性 May 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants