Showing
1 changed file
with
3 additions
and
3 deletions
@@ -119,9 +119,9 @@ var Bll = { | @@ -119,9 +119,9 @@ var Bll = { | ||
119 | valid_extensions: ['mp4'], | 119 | valid_extensions: ['mp4'], |
120 | onComplete: function (response) { | 120 | onComplete: function (response) { |
121 | console.log("批量接口返回数据",response); | 121 | console.log("批量接口返回数据",response); |
122 | - if (response.status && response.code == 200) { | ||
123 | - alert(" 上传成功") | ||
124 | - | 122 | + if (response.status && response.code == 200) { |
123 | + Bll.newVideo.url=response.data.url; | ||
124 | + Bll.newVideo.fileName=response.data.fileName; | ||
125 | /*for (var i = 0; i < response.datas.length; i++) { | 125 | /*for (var i = 0; i < response.datas.length; i++) { |
126 | var name = response.names[i]; | 126 | var name = response.names[i]; |
127 | var index = name.indexOf('.'); | 127 | var index = name.indexOf('.'); |
-
Please register or login to post a comment