明树Git Lab

Commit cbf980ce authored by zfp1's avatar zfp1

update

parent 6d6c2081
Pipeline #108288 passed with stage
in 3 seconds
......@@ -15,7 +15,7 @@ async function upload(req, res, next) {
filename: req.file.filename,
path: req.file.path,
// nginxpath,
size: (req.file.size / (1048576)).toFixed(2) + 'MB',
size: (req.file.size / (1048576)).toFixed(2),
realSize: req.file.size,
});
res.sendData(ret);
......@@ -37,7 +37,7 @@ async function batchUpload(req, res, next) {
path: element.path,
// size: element.size,
// nginxpath,
size: (element.size / (1048576)).toFixed(2) + 'MB',
size: (element.size / (1048576)).toFixed(2),
realSize: element.size,
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment