修改上传文件大小尺寸,修复任务问题
This commit is contained in:
@@ -403,6 +403,7 @@ export default {
|
||||
const date = new Date();
|
||||
const houzhui = "." + data.name.substr(data.name.lastIndexOf(".") + 1);
|
||||
const name = "app/" + "test-duanju" + houzhui;
|
||||
// const name = "app/" + "sy-duanju" + houzhui;
|
||||
const fileRes = await this.ossClient.partUpload(name, data.raw, (p) => {
|
||||
this.percentage = Math.floor(p * 100);
|
||||
console.log(this.percentage);
|
||||
|
||||
Reference in New Issue
Block a user