element icon indicating copy to clipboard operation
element copied to clipboard

<el-form>未阻止默认提交事件

Open 0rzfun opened this issue 9 years ago • 2 comments

在 里的点击button按钮和在input里按回车都会刷新页面

0rzfun avatar Aug 16 '17 08:08 0rzfun

Hello, this issue has been closed because it does not conform to our issue requirements. Please submit issues with issue-generator. More info can be found in #3693.

element-bot avatar Aug 16 '17 08:08 element-bot

you can use like:

<el-form @submit.native.prevent>
</el-form>

GreenMashimaro avatar Dec 02 '18 02:12 GreenMashimaro