diff --git a/bcs-services/bcs-bscp/ui/src/views/space/templates/list/package-detail/operations/download-config/download-config.vue b/bcs-services/bcs-bscp/ui/src/views/space/templates/list/package-detail/operations/download-config/download-config.vue index b4ef207bff..8cc8b36088 100644 --- a/bcs-services/bcs-bscp/ui/src/views/space/templates/list/package-detail/operations/download-config/download-config.vue +++ b/bcs-services/bcs-bscp/ui/src/views/space/templates/list/package-detail/operations/download-config/download-config.vue @@ -29,9 +29,9 @@ try { pending.value = true; const res = await getTemplateVersionsNameByIds(props.spaceId, [props.templateId]); - const { template_name, latest_signature } = res.details[0]; + const { template_name, latest_signature, latest_revision_name } = res.details[0]; const content = await downloadTemplateContent(props.spaceId, props.templateSpaceId, latest_signature); - fileDownload(content, template_name); + fileDownload(content, `${template_name}_${latest_revision_name}`); } catch (e) { console.error(e); } finally {