修正图展示 width 参数

This commit is contained in:
Anyon 2022-03-04 17:07:13 +08:00
parent db3aa8f529
commit 630b11dc27

View File

@ -1027,7 +1027,7 @@ $(function () {
/*! 注册 data-tips-image 事件行为 */ /*! 注册 data-tips-image 事件行为 */
onEvent('click', '[data-tips-image]', function () { onEvent('click', '[data-tips-image]', function () {
$.previewImage(this.dataset.tipsImage || this.dataset.lazySrc || this.src, this.dataset.with); $.previewImage(this.dataset.tipsImage || this.dataset.lazySrc || this.src, this.dataset.width);
}); });
/*! 注册 data-phone-view 事件行为 */ /*! 注册 data-phone-view 事件行为 */