diff --git a/bcs-services/bcs-bscp/ui/src/views/space/service/detail/config/config-list/config-table-list/create-config/manual-create.vue b/bcs-services/bcs-bscp/ui/src/views/space/service/detail/config/config-list/config-table-list/create-config/manual-create.vue index 6000b10122..613a4667a7 100644 --- a/bcs-services/bcs-bscp/ui/src/views/space/service/detail/config/config-list/config-table-list/create-config/manual-create.vue +++ b/bcs-services/bcs-bscp/ui/src/views/space/service/detail/config/config-list/config-table-list/create-config/manual-create.vue @@ -14,7 +14,7 @@ :editable="true" :bk-biz-id="props.bkBizId" :id="props.appId" - :file-size-limit="spaceFeatureFlags.RESOURCE_LIMIT.maxConfigItemSize" + :file-size-limit="spaceFeatureFlags.RESOURCE_LIMIT.maxFileSize" @change="handleFormChange" />
diff --git a/bcs-services/bcs-bscp/ui/src/views/space/service/detail/config/config-list/config-table-list/edit-config.vue b/bcs-services/bcs-bscp/ui/src/views/space/service/detail/config/config-list/config-table-list/edit-config.vue index 8bf19ac8a6..1d50ff64af 100644 --- a/bcs-services/bcs-bscp/ui/src/views/space/service/detail/config/config-list/config-table-list/edit-config.vue +++ b/bcs-services/bcs-bscp/ui/src/views/space/service/detail/config/config-list/config-table-list/edit-config.vue @@ -16,7 +16,7 @@ :editable="true" :bk-biz-id="props.bkBizId" :id="props.appId" - :file-size-limit="spaceFeatureFlags.RESOURCE_LIMIT.maxConfigItemSize" + :file-size-limit="spaceFeatureFlags.RESOURCE_LIMIT.maxFileSize" @change="handleChange" />
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 3c3ba03c4b..13414a860d 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 @@ -33,9 +33,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 {