这是基于vue-vben-admin 模板适用于abp Vnext的前端管理项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
802 B

import { useLocalization } from '/@/hooks/abp/useLocalization';
import { FormProps, FormSchema } from '/@/components/Form';
const { L } = useLocalization('AbpIdentityServer');
export function getSearchFormSchemas(): Partial<FormProps> {
return {
labelWidth: 100,
schemas: [
{
field: 'filter',
component: 'Input',
label: L('Search'),
colProps: { span: 24 },
},
],
};
}
export function getPropertyFormSchemas(): FormSchema[] {
return [
{
field: 'key',
component: 'Input',
label: L('Propertites:Key'),
colProps: { span: 24 },
required: true,
},
{
field: 'value',
component: 'Input',
label: L('Propertites:Value'),
colProps: { span: 24 },
required: true,
},
];
}