42 lines
772 B
Plaintext
42 lines
772 B
Plaintext
import { FormSchema } from '@/components/Form/index';
|
|
export const schemas: FormSchema[] = [
|
|
{
|
|
name: 'type',
|
|
component: 'Select',
|
|
label: '请求类型',
|
|
componentProps: {
|
|
placeholder: '请选择请求类型',
|
|
clearable:true,
|
|
options: [
|
|
{
|
|
label: '登录',
|
|
value: '0',
|
|
},
|
|
{
|
|
label: '退出',
|
|
value: '1',
|
|
},
|
|
],
|
|
},
|
|
},
|
|
{
|
|
name: 'status',
|
|
component: 'Select',
|
|
label: '请求状态',
|
|
componentProps: {
|
|
placeholder: '请选择状态',
|
|
clearable:true,
|
|
options: [
|
|
{
|
|
label: '正常',
|
|
value: '0',
|
|
},
|
|
{
|
|
label: '异常',
|
|
value: '1',
|
|
},
|
|
],
|
|
},
|
|
},
|
|
];
|