feat(@vant/cli): using vite to build site

This commit is contained in:
chenjiahan
2021-09-07 11:59:12 +08:00
parent 6e5f215140
commit 2dd7e853d6
10 changed files with 45 additions and 17 deletions

View File

@@ -108,9 +108,9 @@ export default {
[]
);
const current = navItems.find((item) => {
return item.path === this.$route.meta.name;
});
const current = navItems.find(
(item) => item.path === this.$route.meta.name
);
if (current && current.title) {
title = current.title + ' - ' + title;