diff --git a/src/components/upload/index.vue b/src/components/upload/index.vue index a33f14a..313635f 100644 --- a/src/components/upload/index.vue +++ b/src/components/upload/index.vue @@ -102,7 +102,7 @@ export default { this.uploading = true this.showFiles = false // 上传到阿里云oss - const { name } = await this.client.multipartUpload(file.name, file, { + const { name } = await this.client.multipartUpload(Date.now() + '.' + Util.getFileExt(file.name), file, { progress: this.handleProgress }); diff --git a/src/components/upload/upload.js b/src/components/upload/upload.js index 6960f2a..02566ed 100644 --- a/src/components/upload/upload.js +++ b/src/components/upload/upload.js @@ -17,7 +17,7 @@ export default { return new Promise(async (resolve, reject) => { try { // 上传到阿里云oss - const res = await client.multipartUpload(file.name, file); + const res = await client.multipartUpload(Date.now() + '.' + Util.getFileExt(file.name), file); resolve({ format: Util.getFileExt(file.name), name: file.name, diff --git a/src/setting.js b/src/setting.js index b8ddb3a..28506aa 100644 --- a/src/setting.js +++ b/src/setting.js @@ -13,7 +13,7 @@ if (isDev) { sandPath = `http://${location.hostname}:9520` host = 'http://121.37.12.51/' // host = 'https://huorantech.cn/' - // host = 'http://192.168.31.217:9000/'// 榕 + host = 'http://192.168.31.217:9000/'// 榕 // host = 'http://192.168.31.51:9000/'// 赓 } else if (isPro) { jumpPath = 'https://www.huorantech.cn/judgmentPoint/' diff --git a/src/views/match/add/index.vue b/src/views/match/add/index.vue index f211f49..2796fae 100644 --- a/src/views/match/add/index.vue +++ b/src/views/match/add/index.vue @@ -90,7 +90,7 @@ @click="save(1)">发布 保存并下一步 + @click="save(0, 2)">保存并下一步 小时,公布(阶段)比赛成绩。 -
是否公布成绩详情:

{{ item.teamScore }}

{{ item.teamCalculationMethodName }}

-

权重:

-

{{ item.pointWeight }}%

+