|
@@ -63,7 +63,7 @@
|
|
|
:span="6"
|
|
|
v-for="(item, index) in menuList"
|
|
|
:key="index"
|
|
|
- @click="switchMenu(item)"
|
|
|
+ @click="switchMenu(item.href)"
|
|
|
>
|
|
|
<div class="thr_1">
|
|
|
<div class="title">{{ item.title }}</div>
|
|
@@ -117,7 +117,7 @@ const toCommon = (type) => {
|
|
|
}
|
|
|
// 点击指定模块
|
|
|
const switchMenu = async (item) => {
|
|
|
- router.push({ path: `/${item.href}` })
|
|
|
+ router.push({ path: `/${item}` })
|
|
|
}
|
|
|
// 打开管理端
|
|
|
const toOpen = async () => {
|