mirror of
https://gitee.com/arthas/arthas.git
synced 2024-12-02 04:08:34 +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
|
// add old docs contributors
|
||||||
router.afterEach((to, from) => {
|
router.afterEach((to, from) => {
|
||||||
if (to.fullPath !== from.fullPath) {
|
if (to.path !== from.path) {
|
||||||
addOldDocsContributors();
|
addOldDocsContributors();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user