Commit 117ea909 by zhangleyuan

feat:处理二维码不展示的问题

parent 47c55ff6
...@@ -40,6 +40,7 @@ export default function WechatLogin(props: any) { ...@@ -40,6 +40,7 @@ export default function WechatLogin(props: any) {
image: Logo, image: Logo,
imageSize: 50 imageSize: 50
}); });
qrcodeWrapDom.innerHTML = '';
qrcodeWrapDom && qrcodeWrapDom.appendChild(qrnode); qrcodeWrapDom && qrcodeWrapDom.appendChild(qrnode);
// QRCode.current.innerHTML = '' // QRCode.current.innerHTML = ''
// QRCode.current.prepend(qrnode); // QRCode.current.prepend(qrnode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment