Showing
1 changed file
with
1 additions
and
1 deletions
@@ -99,7 +99,7 @@ exports.uploadFile = function (req, res) { | @@ -99,7 +99,7 @@ exports.uploadFile = function (req, res) { | ||
99 | } | 99 | } |
100 | res.json({ | 100 | res.json({ |
101 | code: 200, | 101 | code: 200, |
102 | - data: datas, | 102 | + data: flag?datas:datas[0], |
103 | names: req.body.fileNames, | 103 | names: req.body.fileNames, |
104 | message: '上传成功', | 104 | message: '上传成功', |
105 | status: true | 105 | status: true |
-
Please register or login to post a comment