mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 08:00:34 +00:00
@@ -72,7 +72,6 @@ function getBestSelectionFromSrcset(el, scale) {
|
||||
if (el.tagName !== 'IMG' || !el.getAttribute('data-srcset')) return;
|
||||
|
||||
let options = el.getAttribute('data-srcset');
|
||||
[];
|
||||
const container = el.parentNode;
|
||||
const containerWidth = container.offsetWidth * scale;
|
||||
|
||||
|
Reference in New Issue
Block a user