|
|
@ -276,6 +276,7 @@ export default defineComponent({ |
|
|
|
if(event.keyCode === 13){ |
|
|
|
//回车 |
|
|
|
emit('onEnter',item.field,formModel.value[item.field],event) |
|
|
|
event.target.blur();//回车之后自动失去焦点 |
|
|
|
} |
|
|
|
}} |
|
|
|
onBlur={(e) => { onBlur(item.field,formModel.value[item.field]) }} |
|
|
@ -409,6 +410,7 @@ export default defineComponent({ |
|
|
|
if(event.keyCode === 13){ |
|
|
|
//回车 |
|
|
|
emit('onEnter',item.field,formModel.value[item.field],event) |
|
|
|
event.target.blur();//回车之后自动失去焦点 |
|
|
|
} |
|
|
|
}} |
|
|
|
{...(notRenderOptions.includes(item?.component as string) && |
|
|
|