I just begin to contact small program, recently met a problem,
Page b accept qrcode coming from the pages of a parameter, and a click event page b binding method need to get the qrcode, I is to use global variables to accept the qrcode, but will find qrcode undefined situation, doubt is onl oad hasn't been running to this step, how to ensure click on when to take to the qrcode in onl oad load value?