Although it is a short time, sometimes the state is important for us. For example, I create a qrcode by clicking a button and I will take a view shot after it. Then I got a blank if I shot too fast. Now I use the "setTimeout", but I still cannot confirm that if it loaded.
So the question is, can I clear the state of the qrcode?
Although it is a short time, sometimes the state is important for us. For example, I create a qrcode by clicking a button and I will take a view shot after it. Then I got a blank if I shot too fast. Now I use the "setTimeout", but I still cannot confirm that if it loaded. So the question is, can I clear the state of the qrcode?