Browse Source

去掉合作商接入菜单

dev_yqzj
winter 1 year ago
parent
commit
c7b28528a7
2 changed files with 1 additions and 11 deletions
  1. +0
    -10
      src/layout/index.vue
  2. +1
    -1
      src/router/index.ts

+ 0
- 10
src/layout/index.vue View File

@@ -57,16 +57,6 @@
text-color="#fff"
>
<el-sub-menu index="1">
<template #title>
<el-icon><location /></el-icon>
<span>{{ $t("cooperate.title") }}</span>
</template>
<el-menu-item-group>
<el-menu-item index="1-1" @click="router.push('/api')">{{ $t("cooperate.api.title") }}</el-menu-item>
<el-menu-item index="1-2" @click="router.push('/privatization')">{{ $t("cooperate.privatization.title") }} </el-menu-item>
</el-menu-item-group>
</el-sub-menu>
<el-sub-menu index="2">
<template #title>
<el-icon><location /></el-icon>
<span>{{ $t("my.title") }}</span>


+ 1
- 1
src/router/index.ts View File

@@ -220,7 +220,7 @@ const router = createRouter({
scrollBehavior: () => ({ behavior: "smooth", left: 0, top: 0 }),
});
router.beforeEach((to, from) => {
document.title = 'Metavatar-' + (to.query.p || from.query.p || localStorage.getItem("title") || '慧影')
document.title = '元气智驾-' + (to.query.p || from.query.p || localStorage.getItem("title") || '悟空')
})
/**
* 重置路由


Loading…
Cancel
Save