mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-14 01:34:47 +08:00
feat: 限制 form 只有一个输入框回车刷新事件
This commit is contained in:
parent
a28744b907
commit
9cf7138af2
@ -2,14 +2,13 @@
|
||||
<el-dialog
|
||||
v-model="open"
|
||||
:title="$t('website.addAccount')"
|
||||
:destroy-on-close="true"
|
||||
:close-on-click-modal="false"
|
||||
width="30%"
|
||||
:before-close="handleClose"
|
||||
>
|
||||
<el-row v-loading="loading">
|
||||
<el-col :span="22" :offset="1">
|
||||
<el-form ref="accountForm" label-position="top" :model="account" :rules="rules">
|
||||
<el-form ref="accountForm" label-position="top" :model="account" :rules="rules" @submit.enter.prevent>
|
||||
<el-form-item :label="$t('website.email')" prop="email">
|
||||
<el-input v-model.trim="account.email"></el-input>
|
||||
</el-form-item>
|
||||
|
Loading…
x
Reference in New Issue
Block a user