src/components/CreateQRcode/CreateQRcode.vue
@@ -19,10 +19,13 @@ } // 生成新二维码 qrCodeInstance = new QRCode(myQrCode.value, { width: 92, height: 91, width: 130, height: 130, text: `https://uri.amap.com/marker?position=${transformed}&name=%E4%BA%8B%E4%BB%B6%E7%82%B9`, }) if (myQrCode.value.hasAttribute('title')) { myQrCode.value.removeAttribute('title') } } watch( () => props.latAndLon,