This is normal. When switching, the QR code box will not appear. I processed the QR code box by giving it a z-index:-1;
Let it be under the menu bar. , is not displayed, which is normal under other circumstances, but when the Chrome browser is opened on a Mac, a flashing problem will occur when switching components. It will appear the moment you click it, and then disappear.
The problem has been solved. The reason for this problem is that the rendering mechanism of z-index is different in different browsers (I don’t understand it either, someone else told me). The temporary solution is to use v-show to let qrbox display it when it needs to be displayed, but I would like to know more about how this compatibility problem occurs and how to solve it. . .