报错描述:在弹窗内生成二维码时,报以下错误 报错原因:是没有获取到节点 解决办法:在creatQrCode中加入nextTick const creatQrCode = () => { nextTick(() => { ... }); };