@@ -57,16 +57,6 @@ | |||||
text-color="#fff" | text-color="#fff" | ||||
> | > | ||||
<el-sub-menu index="1"> | <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> | <template #title> | ||||
<el-icon><location /></el-icon> | <el-icon><location /></el-icon> | ||||
<span>{{ $t("my.title") }}</span> | <span>{{ $t("my.title") }}</span> | ||||
@@ -220,7 +220,7 @@ const router = createRouter({ | |||||
scrollBehavior: () => ({ behavior: "smooth", left: 0, top: 0 }), | scrollBehavior: () => ({ behavior: "smooth", left: 0, top: 0 }), | ||||
}); | }); | ||||
router.beforeEach((to, from) => { | 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") || '悟空') | |||||
}) | }) | ||||
/** | /** | ||||
* 重置路由 | * 重置路由 | ||||