前端模板

This commit is contained in:
2025-05-13 10:39:21 +08:00
parent 095d5dccb1
commit 636fc411d2
10 changed files with 484 additions and 116 deletions

View File

@@ -0,0 +1,20 @@
import type { VbenFormProps } from '#/adapter/form';
// import dayjs from 'dayjs';
export const formOptions: VbenFormProps = {
// 默认展开
collapsed: false,
schema: [
// 生成的搜索字段
],
// 控制表单是否显示折叠按钮
showCollapseButton: true,
submitButtonOptions: {
content: '查询',
},
// 是否在字段值改变时提交表单
submitOnChange: true,
// 按下回车时是否提交表单
submitOnEnter: false,
};