fix
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<div class="center-nav">
|
||||
<div class="nav-item" v-for="item in navList" :key="item.name">
|
||||
<down-menu :title="$t(item.name)" v-if="item.children">
|
||||
<router-link :to="child.path" v-for="child in item.children" :key="child.name">
|
||||
<router-link :to="child.path" v-for="(child) in item.children" :key="child.name">
|
||||
{{ $t(child.name) }}
|
||||
</router-link>
|
||||
</down-menu>
|
||||
@@ -65,7 +65,7 @@
|
||||
}
|
||||
])
|
||||
|
||||
const navList = ref([
|
||||
const navList:any = ref([
|
||||
{
|
||||
name: 'MainHeader.Home',
|
||||
path: '/'
|
||||
|
||||
Reference in New Issue
Block a user