export const formDataList = [
  {
    prop: 'name',
    label: '名称',
    type: 'input' as const,
    placeholder: '请输入名称',
    width: '300px',
  },
  {
    prop: 'status',
    label: '是否开启',
    type: 'switch' as const,
  },
  {
    prop: 'type',
    label: '是否默认',
    type: 'switch' as const,
  },
  {
    prop: 'description',
    label: '备注',
    type: 'textarea' as const,
    placeholder: '请输入备注',
    width: '300px',
  },
]
export const formRulesList = {
  name: [{ required: true, message: '请输入名称', trigger: ['change'] }],
  // type: [{ required: true, message: '请选择是否默认', trigger: ['change'] }],
  description: [{ required: true, message: '请输入备注', trigger: ['change'] }],
}
