refactor: code
This commit is contained in:
parent
aac4f73b9a
commit
ae3e00584c
@ -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, // 最大重试次数
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user