feat: 表单组件添加回车事件

This commit is contained in:
lilinyuan
2024-07-19 11:10:51 +08:00
parent 264f6283dc
commit 9783ca8506

View File

@@ -23,6 +23,7 @@
v-bind="item.props || {}" v-bind="item.props || {}"
v-on="item.on || {}" v-on="item.on || {}"
v-model="form[item.prop]" v-model="form[item.prop]"
@keyup.enter.native="getValues"
> >
</component> </component>
</template> </template>