Explorar o código

上传文件夹修改

zhuxinbo %!s(int64=5) %!d(string=hai) anos
pai
achega
7e06723f3f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/uploadFile.vue

+ 1 - 1
src/components/uploadFile.vue

@@ -148,7 +148,7 @@
           /* 必须 */
           Region: 'ap-chongqing',
           /* 存储桶所在地域,必须字段 */
-          Key: that.uploadType + y + '-' + MM + '-' + d + '/' + file.name,
+          Key: that.uploadType + '/' + y + '-' + MM + '-' + d + '/' + file.name,
           /* 必须 */
           StorageClass: 'STANDARD',
           Body: file, // 上传文件对象