// export json 配置 export const add = (data: any) => ({ type: "add", title: "新增", attrs: [ { label: "数据集名称", name: "desDataset", type: "input", } ] });