Closed LynnHg closed 9 months ago
if (true) { const UQRCode = await import('uqrcodejs'); } 执行上面的代码报错: Uncaught (in promise) TypeError: UQRCode is not a constructor
使用new UQRCode.default()解决了
if (true) { const UQRCode = await import('uqrcodejs'); } 执行上面的代码报错: Uncaught (in promise) TypeError: UQRCode is not a constructor