Commit f80d5fb3d01c7bae67b308914fc13b848c624026

Authored by loveumiko
1 parent 558f2940

perf: 看板添加平台搜索字段

  1 +import { PlatformType } from './panelDetail';
1 2 import { FormSchema } from '/@/components/Form';
2 3 import { ColEx } from '/@/components/Form/src/types';
3 4 import { useGridLayout } from '/@/hooks/component/useGridLayout';
... ... @@ -13,4 +14,17 @@ export const formSchema: FormSchema[] = [
13 14 placeholder: '请输入看板名称',
14 15 },
15 16 },
  17 + {
  18 + field: 'platform',
  19 + label: '平台',
  20 + required: true,
  21 + component: 'Select',
  22 + colProps: useGridLayout(2, 3, 4) as unknown as ColEx,
  23 + componentProps: {
  24 + options: [
  25 + { label: 'PC端', value: PlatformType.PC },
  26 + { label: '移动端', value: PlatformType.PHONE },
  27 + ],
  28 + },
  29 + },
16 30 ];
... ...