diff --git a/src/frontend/devops-pipeline/src/components/Outputs/index.vue b/src/frontend/devops-pipeline/src/components/Outputs/index.vue
index 54648915b58..1d9e64dacc0 100644
--- a/src/frontend/devops-pipeline/src/components/Outputs/index.vue
+++ b/src/frontend/devops-pipeline/src/components/Outputs/index.vue
@@ -81,9 +81,17 @@
theme="primary"
v-for="btn in btns"
:key="btn.text"
+ :disabled="btn.disabled"
@click="btn.handler"
>
- {{ btn.text }}
+
+ {{ btn.text }}
+
+ {{ btn.disabledTips }}
+
+
window.open(this.activeOutputDetail.url, '_blank')
+ handler: () => window.open(this.activeOutputDetail.url, '_blank'),
+ disabled: this.activeOutputDetail.size.includes('GB') && this.activeOutputDetail.size.split(' ')[0] > 10,
+ disabledTips: this.$t('downloadDisabledTips')
})
break
}
diff --git a/src/frontend/locale/pipeline/en-US.json b/src/frontend/locale/pipeline/en-US.json
index 53cc6732b48..fff0d444e87 100644
--- a/src/frontend/locale/pipeline/en-US.json
+++ b/src/frontend/locale/pipeline/en-US.json
@@ -1175,5 +1175,6 @@
"exitFullscreen": "Exit Full Screen",
"skipSuc": "Skipped the failed step and continued running",
"skipFail": "Skip failed",
- "nonManual": "Non Manual"
+ "nonManual": "Non Manual",
+ "downloadDisabledTips": "The file size in the directory exceeds 10 G. Please go to the BKrepo to download in batches."
}
\ No newline at end of file
diff --git a/src/frontend/locale/pipeline/zh-CN.json b/src/frontend/locale/pipeline/zh-CN.json
index 0e07aa26ed2..314cd827132 100644
--- a/src/frontend/locale/pipeline/zh-CN.json
+++ b/src/frontend/locale/pipeline/zh-CN.json
@@ -1178,5 +1178,6 @@
"exitFullscreen": "退出全屏",
"skipSuc": "已跳过失败的步骤,继续运行",
"skipFail": "跳过失败",
- "nonManual": "非手动"
+ "nonManual": "非手动",
+ "downloadDisabledTips": "目录下的文件大小超过 10 G,请到制品库分批下载"
}
\ No newline at end of file