Skip to content

Commit

Permalink
附件支持合并amis属性
Browse files Browse the repository at this point in the history
  • Loading branch information
tujiajun committed May 9, 2024
1 parent 46ed234 commit 9f3fd7c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ export async function getTableColumns(object, fields, options){
var file_id = data.versions && data.versions[0] && data.versions[0]._id;
window.previewFile && window.previewFile({file_name, file_id});
`;
columnItem = {
columnItem = Object.assign({}, {
"type": "button",
"label": `<%=data.versions ? data.name : "${field.label}"%>`,
className,
Expand Down Expand Up @@ -588,7 +588,7 @@ export async function getTableColumns(object, fields, options){
]
}
}
};
}, fieldAmis);
}else if(field.type === 'toggle'){
columnItem = Object.assign({}, {
type: "switch",
Expand Down

0 comments on commit 9f3fd7c

Please sign in to comment.