Closed flycran closed 10 months ago
const dataUrl = await domToJpeg(node, { scale: 2, style: ` #a { width: 175px; } `, })
TypeError: Failed to set an indexed property [0] on 'CSSStyleDeclaration': Indexed property setter is not supported.
style 目前只支持对象方式的 CSSStyleDeclaration 结构,还不支持 cssText 方式
设置style选项时报错