修改上传文件大小尺寸,修复任务问题

This commit is contained in:
2024-12-12 14:27:05 +08:00
parent d1e25e9545
commit a2039fe1e4
3 changed files with 5 additions and 4 deletions

View File

@@ -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);