refactor: code

This commit is contained in:
jmal 2023-04-26 00:20:36 +08:00
parent aac4f73b9a
commit ae3e00584c
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ export default {
username: this.$store.state.user.name,
options: {
target: api.simpleUploadURL,
chunkSize: 2 * 1024 * 1024,
chunkSize: 5 * 1024 * 1024,
// speedSmoothingFactor: 0.1,
// progressCallbacksInterval: 500,
maxChunkRetries: 3, // 最大重试次数

View File

@ -35,7 +35,7 @@
<el-input v-model="formData.endpoint"></el-input>
</el-form-item>
<el-form-item label="Access Key" prop="accessKey">
<el-input type="password" v-model="formData.accessKey"></el-input>
<el-input v-model="formData.accessKey"></el-input>
</el-form-item>
<el-form-item label="Secret Key" prop="secretKey">
<el-input type="password" v-model="formData.secretKey"></el-input>