Skip to content

Commit

Permalink
refactor: 下载的模板文件名称带上版本号
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 3120
  • Loading branch information
luofann committed Feb 29, 2024
1 parent c1570af commit 79bdaf1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
const handleDownload = async (version: ITemplateVersionItem) => {
const { name, revision_name, content_spec } = version.spec;
const content = await downloadTemplateContent(props.spaceId, props.templateSpaceId, content_spec.signature);
fileDownload(content, `${name}(${revision_name})`);
fileDownload(content, `${name}_${revision_name}`);
};
// const handleDeleteVersion = (version: ITemplateVersionItem) => {
Expand Down

0 comments on commit 79bdaf1

Please sign in to comment.