fix: data.ts 按照 fieldName、label、component、rules、dependencies 这样的顺序。

This commit is contained in:
puhui999
2025-04-03 21:18:43 +08:00
parent 6ecfcb07bd
commit 09a22a3113
2 changed files with 8 additions and 8 deletions

View File

@@ -10,18 +10,18 @@ import { DICT_TYPE, getDictOptions } from '#/utils/dict';
export function useFormSchema(): VbenFormSchema[] {
return [
{
component: 'Input',
fieldName: 'id',
label: 'id',
component: 'Input',
dependencies: {
triggerFields: [''],
show: () => false,
},
},
{
component: 'Input',
fieldName: 'signature',
label: '短信签名',
component: 'Input',
rules: 'required',
},
{