Vue-cli builds Wechat H5 first screen and hides the sharing button after loading.

clipboard.png
clipboard.png

clipboard.png
execute the method in the routing guard beforeRouteEnter in the component to get the Wechat signature hiding and sharing button. When loading the page, click the three dots in the upper right corner to hide the Wechat sharing button to prevent the page from sharing. But sometimes the page does not finish loading or quickly clicks on the three dots in the upper right corner, and the sharing button will come out again, and then it will be gone, in order to prevent users from malicious sharing. I would like to ask how to make him hide and share as soon as he clicks, regardless of whether the page is loaded or not.

May.23,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3acf0-2c238.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3acf0-2c238.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?