<el-form @submit.native.prevent> <el-button native-type="submit">确认</el-button> </el-form>
<el-input @keyup.enter.native="register"></el-input>