The question is not clear. The qrcode here should be written as a jquery extension. If you look at the code processing in qrcode.js, you will understand how to operate it
I don’t understand. Shouldn’t the generated QR code be scanned by the mobile phone to jump? Scan the QR code in your mobile browser or WeChat, and it will jump directly as long as the URL is legal