The effect of vue-router after router.replace (url) is the same as that of router.push (url)

The effect of

vue-router after executing router.replace (url) is the same as that of router.push (url). It is found that router.replace execution failed and entered onAbort callback.
current position http://localhost:8099/-sharp/community/create/pay?gid=262,
replace to / community/payment?success=1&gid=262 after success,
replace is not successful, what is the reason?

versions are as follows
"vue": "^ 2.3.3", "version": "2.5.16"
"vue-router": "^ 2.6.0", "version": "2.8.1"

Apr.10,2022

the problem lies in the global hook beforeEach

clipboard.png

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