Skip to content

Commit

Permalink
修复onSubmit回调数据修改不生效的 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
0604hx committed Nov 17, 2023
1 parent 0d4d93f commit b2c3fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/render.mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default (props, emits, suffix="")=>{
if(props.debug) track("<onSubmit> 回调函数返回(仅当返回布尔 true 方能继续提交表单)", obj)
if(obj === true){
// _submitDo(typeof(obj) === 'object'? obj: _raw(formData))
emits("submit", formObj, DEFAULT_ACTION)
emits("submit", _raw(formData), DEFAULT_ACTION)
}
else{
if(props.debug) track(`<onSubmit> 回调函数返回非 true ,中断表单提交`)
Expand Down

0 comments on commit b2c3fe9

Please sign in to comment.