Who knows the pitfalls shared by Wechat in vue history mode?

when the vue route mode is history mode, the links and covers shared by Wechat authorization are failed, does anyone know?
as shown in figure

clipboard.png

May.05,2022

this is a long-lasting pit, so I can't climb out.
the temporary solution is to refresh the pages that need to be shared again, and then call Wechat SDK. Add the query parameter needrefresh=1 to the url of the page to be shared, then determine whether to refresh the page according to the needrefresh parameter, and remove the needrefresh parameter when refreshing.

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-1b37f18-2c0ce.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-1b37f18-2c0ce.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?