|
@@ -233,6 +233,7 @@ export async function postAppUpdate(axiosInstance, param) {
|
|
|
await aliOSSMultipartUpload(client, fileName, uploadFile, (p) => {
|
|
|
bar1.update(p * 100);
|
|
|
});
|
|
|
+ bar1.update(100);
|
|
|
bar1.stop();
|
|
|
}
|
|
|
|
|
@@ -337,7 +338,7 @@ export async function postWebUpdate(axiosInstance, param) {
|
|
|
if (filestat.isDirectory()) {
|
|
|
await loopDir(distDir + subPath, subPath);
|
|
|
} else {
|
|
|
- archive.file(distDir + subPath, { name: file });
|
|
|
+ archive.file(distDir + subPath, { name: subPath });
|
|
|
}
|
|
|
}
|
|
|
}
|