feat:修改ico和标题
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -72,7 +72,7 @@ export default {
|
||||
return {
|
||||
activeIndex: '/',
|
||||
isCollapse: false,
|
||||
system_name: '肉牛溯源系统',
|
||||
system_name: '基芯农育种',
|
||||
logo: '',
|
||||
index: 0,
|
||||
menuList: [], // 菜单权限列表
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<div class="login-right-content">
|
||||
<div class="login-right-box">
|
||||
<div class="login-right-icon">
|
||||
<h1 class="title">肉牛溯源系统</h1>
|
||||
<h1 class="title">基芯农分子育种检测平台</h1>
|
||||
</div>
|
||||
<div class="login-right-form">
|
||||
<div class="tab-box">
|
||||
|
||||
Reference in New Issue
Block a user