feat:修改ico和标题

This commit is contained in:
xiaoliumang
2024-08-29 17:05:14 +08:00
parent a0f1afe178
commit f49316f681
6 changed files with 4 additions and 4 deletions

View File

@@ -106,7 +106,7 @@ router.beforeEach((to, from, next) => {
// to到哪里取 from 从哪里来 next 放行
const token = local.get('token_sd')
if (to.meta.title) { // 修改总标题
document.title = '肉牛溯源系统' + '-' + to.meta.title // routes数组中--meta是关键
document.title = '基芯农育种' + '-' + to.meta.title // routes数组中--meta是关键
}
if (token) { // ok
next()