import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
//列表数据
export const columns: BasicColumn[] = [
    {
    title: '公告标题',
    align:"center",
    dataIndex: 'title'
   },
   {
    title: '公告内容',
    align:"center",
    dataIndex: 'content',
    slots: { customRender: 'htmlSlot' },
   },
];
//查询数据
export const searchFormSchema: FormSchema[] = [
];
//表单数据
export const formSchema: FormSchema[] = [
  {
    label: '公告标题',
    field: 'title',
    component: 'Input',
  },
  {
    label: '公告内容',
    field: 'content',
    component: 'JCodeEditor', //TODO String后缀暂未添加
  },
];
