Skip to content

Commit

Permalink
feat:cos并发下载调整大小前端调整 #1297
Browse files Browse the repository at this point in the history
  • Loading branch information
lannoy0523 committed Oct 24, 2023
1 parent c4f94d5 commit ae3bfe5
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,19 @@
<svg-icon style="width: 20px; height: 20px; margin-left: 5px; padding-top: 3px" icon-class="question" />
</el-tooltip>
</el-form-item>
<el-form-item
v-if="credential.type === STORAGE_TYPE_INNER_COS"
label="下载分片数量"
prop="download.maxDownloadParts"
required
>
<el-input-number
v-model="credential.download.maxDownloadParts"
controls-position="right"
:min="1"
/>
<svg-icon style="width: 20px; height: 20px; margin-left: 5px; padding-top: 3px" icon-class="question" />
</el-form-item>
<el-form-item v-if="credential.type === STORAGE_TYPE_S3" label="Endpoint" prop="endpoint" required>
<el-input v-model="credential.endpoint" :disabled="!createMode" />
</el-form-item>
Expand Down Expand Up @@ -359,6 +372,7 @@ export default {
credential.download.downloadTimeLowWaterMark = 5 * 1000
credential.download.taskInterval = 10
credential.download.minimumPartSize = 10
credential.download.maxDownloadParts = 10 * 1000
}
credential.secretKey = ''
credential.bucket = ''
Expand Down

0 comments on commit ae3bfe5

Please sign in to comment.