Authored by xuhongyun

Merge branch 'dev-支持页面刷新' into grey

... ... @@ -30,9 +30,15 @@ require("../util/jquery-ui.min");
$.each($imgs, function (index, node) {
$(node).removeAttr("width").removeAttr("height");
// 去除url中的imageview
var orignal_src = node.src;
if (orignal_src.indexOf('?') != -1) {
orignal_src = orignal_src.substring(0, orignal_src.indexOf('?'));
}
return arr.push({
_src: node.src,
src: node.src
_src: orignal_src,
src: orignal_src
});
});
... ...
... ... @@ -387,6 +387,12 @@ $(document).on('click', '.use-img', function() {
$(this).parent("a").removeClass("select_img");
var index=$(this).data("i");
var src=$(this).attr("src");
// 去除url中的imageview
if (src.indexOf('?') != -1) {
src = src.substring(0, src.indexOf('?'));
}
if(!uesImgMap.hasOwnProperty(index)){
uesImgMap[index]=src;
}else{
... ...