mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修正data-tips-image加载图片异常时的处理
This commit is contained in:
parent
307c0e94b7
commit
5905e6f079
@ -631,6 +631,9 @@ $(function () {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
img.onerror = function (e) {
|
||||||
|
$.msg.close(index);
|
||||||
|
};
|
||||||
img.src = this.getAttribute('data-tips-image') || this.src;
|
img.src = this.getAttribute('data-tips-image') || this.src;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user