interface FormItem {
    prop: string;
    label?: string;
    placeholder?: string;
    type: string;
    isCopy?: boolean;
    optionProps?: any;
    startPlaceholder?: string;
    endPlaceholder?: string;
    options?: any;
    isArray?: boolean;
    startDate?: string; //开始时间(传入后台需要的参数)
    endDate?: string; //结束时间(传入后台需要的参数)
    startProp?: string;
    endProp?: string;
    isInteger?: boolean;
    disabled?: boolean;
    fileList?: any;
    prompt?: any;
}
export const EDIT_FORM_DATA: FormItem[] = [
    {
        prop: "question",
        placeholder: "请输入",
        type: "input",
        label: "标题: "
    },
    {
        prop: "image",
        type: "upImg",
        placeholder: "请输入",
        label: "图片: "
    },

    {
        prop: "recommend",
        placeholder: "",
        type: "radio",
        label: "首页推荐: ",
        options: [
            {
                label: "是",
                value: 1
            },
            {
                label: "否",
                value: 0
            }
        ]
    },
    {
        prop: "sort",
        placeholder: "请输入",
        type: "inputNumber",
        label: "问答排序: "
    }
];
export const EDIT_RULE_FORM = {
    sort: 1
};
