Authored by dongjunjie

标签编辑图片上传

... ... @@ -109,13 +109,6 @@ function articleCategoryOP(prefix, url, item) {
});
a.init();
e.on("callback",function(obj){
if(/^file_onComplete_shopBannerImage_/.test(obj.key)){
var _index = obj.key.replace(/^file_onComplete_shopBannerImage_/,'');
g.__rows[_index].shopSrc = obj.data;
}
});
new common.dropDown({
el: "#classifyId",
ajax: 'guangGetTagCategoryByStatus',
... ...
... ... @@ -113,7 +113,7 @@
<div class="form-group">
<label class="col-sm-2 control-label">上传图片:</label>
<div class="col-sm-offset-1 col-sm-5">
<input type="file" value="[[cover || '']]" id="cover">
<input type="file" name="cover" value="[[cover || '']]" id="cover">
</div>
</div>
</div>
... ...