Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.3k views
in Technique[技术] by (71.8m points)

用 QRCode 生成二维码图片,第一次进入页面图片不显示,刷新一下就好了

第一次进入是这个样子的
image
——————————————————————————
下面是刷新之后的,能够正常显示
image

下面是我二维码的代码,不显示图片的时候,http链接是有的,而且是正常的
image

为什么会出现这样的情况?求告知,谢谢了


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

你的二维码需要在第一次请求成功后,立即回调


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...