Skip to content

Commit

Permalink
【issues/3854】附表控件类型为popup必填时未选择值提交表单会报错
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangdaiscott committed Nov 3, 2022
1 parent c9e207c commit 0dbe3f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/JVxeCells/JVxePopupCell.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
enhanced: {
aopEvents: {
editActived(event) {
// 【issues/3854】附表控件类型为popup必填时未选择值提交表单会报错
if (event.$event && event.$event.type === 'valid-error') {
return;
}
dispatchEvent.call(this, event, 'ant-input')
},
},
Expand Down

0 comments on commit 0dbe3f6

Please sign in to comment.