mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
chore: bump prettier v3 and format all code (#12111)
* chore: bump prettier v3 and format all code * chore: mjs config * chore: revert * chore: revert * chore: update lock
This commit is contained in:
@@ -107,11 +107,11 @@ export default {
|
||||
|
||||
const navItems = this.config.nav.reduce(
|
||||
(result, nav) => [...result, ...nav.items],
|
||||
[]
|
||||
[],
|
||||
);
|
||||
|
||||
const current = navItems.find(
|
||||
(item) => item.path === this.$route.meta.name
|
||||
(item) => item.path === this.$route.meta.name,
|
||||
);
|
||||
|
||||
if (current && current.title) {
|
||||
|
Reference in New Issue
Block a user