quillEditors回车总是触发提交操作,你看看页面上是不是绑定了回车提交,我这里就是绑定到el-form上了
把@keyup.enter.native="dataFormSubmit()"删掉,换成按钮加点击事件调用接口
修改前
<el-form
:model="dataForm"
:rules="dataRule"
ref="dataForm"
@keyup.enter.native="dataFormSubmit()"
label-width="100px"
></el-form>
//修改后
<el-form
:model="dataForm"
:rules="dataRule"
ref="dataForm"
label-width="100px"
></el-form>
<el-button @click="dataFormSubmit()">确定</el-button>
标签:触发,绑定,修改,提交,quillEditors,回车
From: https://blog.51cto.com/u_15694202/7836031