mirror of
https://gitee.com/arthas/arthas.git
synced 2024-11-29 18:58:37 +08:00
fix: solved duplicate run addOldContributors in same page (#2286)
This commit is contained in:
parent
21081ad0ef
commit
9f3a28e400
@ -40,7 +40,7 @@ export default defineClientConfig({
|
||||
|
||||
// add old docs contributors
|
||||
router.afterEach((to, from) => {
|
||||
if (to.fullPath !== from.fullPath) {
|
||||
if (to.path !== from.path) {
|
||||
addOldDocsContributors();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user