Merge branch 'release/1.6' of http://git.dev.yoho.cn/platform/yohobuy-portal-fe into release/1.6
Showing
1 changed file
with
3 additions
and
3 deletions
@@ -187,10 +187,10 @@ edit.prototype = { | @@ -187,10 +187,10 @@ edit.prototype = { | ||
187 | if (ext == "mp4") { | 187 | if (ext == "mp4") { |
188 | _w.prepend('<video width="76" height="80" src="' + response.data + '"></video>'); | 188 | _w.prepend('<video width="76" height="80" src="' + response.data + '"></video>'); |
189 | } else { | 189 | } else { |
190 | - if(src.indexOf("?imageView")){ | ||
191 | - src=util.__template(src,{width:"76",height:"80",mode:"2"}); | 190 | + if(response.data.indexOf("?imageView")){ |
191 | + response.data=util.__template(response.data,{width:"76",height:"80",mode:"2"}); | ||
192 | }else{ | 192 | }else{ |
193 | - src+="?imageView2/2/w/76/h/80"; | 193 | + response.data+="?imageView2/2/w/76/h/80"; |
194 | } | 194 | } |
195 | _w.prepend('<img width="76" height="80" src="' + response.data + '">'); | 195 | _w.prepend('<img width="76" height="80" src="' + response.data + '">'); |
196 | } | 196 | } |
-
Please register or login to post a comment