export default {
  fieldName: {
    value: null,
    type: "input",
    title: "字段名称",
    name: ["fieldName"],
    required: true,
  },
  fieldChar: {
    value: null,
    type: "select",
    title: "字段属性",
    name: ["fieldChar"],
    required: true,
    options: [
      {
        label: "输入框",
        value: 1,
      },
      {
        label: "单选下拉框",
        value: 2,
      },
      {
        label: "单选框",
        value: 3,
      },
      {
        label: "多选下拉框",
        value: 4,
      },
    ],
    linked: true,
  },
  fieldCharValue: {
    value: null,
    type: "input",
    title: "选项内容",
    name: ["fieldCharValue"],
    required: true,
    belinked: {
      hides: [
        {
          name: "fieldChar",
          equalvalue: [1, null],
          required: true,
        },
      ],
    },
    placeholder: "请输入,用分号“; ”隔开",
  },
};