fix: solved duplicate run addOldContributors in same page (#2286)

pull/2290/head
Fatpandac 2 years ago committed by GitHub
parent 21081ad0ef
commit 9f3a28e400
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save