Skip to content

无法同时设置密度和宽度

IncompatibleDescriptorOptions:只能指定 densitieswidths 之一。在大多数情况下,如果你需要特定宽度,你可能只想使用 widths

¥IncompatibleDescriptorOptions: Only one of densities or widths can be specified. In most cases, you’ll probably want to use only widths if you require specific widths.

¥What went wrong?

只能指定 densitieswidths 之一。这些属性用于构造 srcset 属性,该属性不能同时具有 xw 描述符。

¥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:

Astro 中文网 - 粤ICP备13048890号