In Wechat, multiple pages are opened after many calls to scan, can you close the previous pages?

in Wechat, after clicking the button on page A to scan, jump to page B, and you will find that both page An and page B exist. There will be multiple pages if you scan it repeatedly, so how to close page An and leave only page B?

on Android phones, you can call WeixinJSBridge.call ("closeWindow") in each scan callback to close it, but it has no effect in ios

.
Mar.30,2021
Menu