无法同时设置密度和宽度
IncompatibleDescriptorOptions:只能指定
densities
或widths
之一。在大多数情况下,如果你需要特定宽度,你可能只想使用widths
。¥IncompatibleDescriptorOptions: Only one of
densities
orwidths
can be specified. In most cases, you’ll probably want to use onlywidths
if you require specific widths.
什么地方出了错?
Section titled 什么地方出了错?¥What went wrong?
只能指定 densities
或 widths
之一。这些属性用于构造 srcset
属性,该属性不能同时具有 x
和 w
描述符。
¥Only one of densities
or widths
can be specified. Those attributes are used to construct a srcset
attribute, which cannot have both x
and w
descriptors.
也可以看看:
¥See Also:
Error Reference