Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: admin 中以 docker 形式存储的包不提供下载功能 #1447

Merged
merged 3 commits into from
Jul 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
</bk-table-column>
<bk-table-column label="上传者" prop="owner"></bk-table-column>
<bk-table-column label="上传时间" prop="updated"></bk-table-column>
<!--以 docker 形式上传到 bkrepo 上的包不提供下载功能-->
<bk-table-column label="操作" width="150">
<template slot-scope="props">
<bk-button theme="primary" text @click="handleDownload(props.row)">下载</bk-button>
<bk-button v-if="props.row.storage_engine !== 'docker'" theme="primary" text @click="handleDownload(props.row)" >下载</bk-button>
<span v-else v-bk-tooltips="{content: '以镜像方式存储不支持下载' }"> -- </span>
</template>
</bk-table-column>
</bk-table>
Expand Down