diff --git a/.env.development b/.env.development index b34f073..24b7f33 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 后台基础框架 +VITE_APP_TITLE = 计量管理系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://111.198.10.15:11309 VITE_APP_API_BASEURL = http://111.198.10.15:21409 diff --git a/.env.development b/.env.development index b34f073..24b7f33 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 后台基础框架 +VITE_APP_TITLE = 计量管理系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://111.198.10.15:11309 VITE_APP_API_BASEURL = http://111.198.10.15:21409 diff --git a/src/assets/styles/themes.scss b/src/assets/styles/themes.scss index 31610e4..47da1fb 100644 --- a/src/assets/styles/themes.scss +++ b/src/assets/styles/themes.scss @@ -17,7 +17,7 @@ // 导航鼠标悬浮文字颜色 --g-header-menu-hover-color: #fff; // 导航鼠标悬浮背景色 - --g-header-menu-hover-bg: #334067; + --g-header-menu-hover-bg: #e3edfcb0; // 导航选中文字颜色 --g-header-menu-active-color: #3d7eff; // 导航选中背景色 diff --git a/.env.development b/.env.development index b34f073..24b7f33 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 后台基础框架 +VITE_APP_TITLE = 计量管理系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://111.198.10.15:11309 VITE_APP_API_BASEURL = http://111.198.10.15:21409 diff --git a/src/assets/styles/themes.scss b/src/assets/styles/themes.scss index 31610e4..47da1fb 100644 --- a/src/assets/styles/themes.scss +++ b/src/assets/styles/themes.scss @@ -17,7 +17,7 @@ // 导航鼠标悬浮文字颜色 --g-header-menu-hover-color: #fff; // 导航鼠标悬浮背景色 - --g-header-menu-hover-bg: #334067; + --g-header-menu-hover-bg: #e3edfcb0; // 导航选中文字颜色 --g-header-menu-active-color: #3d7eff; // 导航选中背景色 diff --git a/src/store/modules/route.ts b/src/store/modules/route.ts index 7dd271f..539c862 100644 --- a/src/store/modules/route.ts +++ b/src/store/modules/route.ts @@ -10,7 +10,7 @@ let isAuth = false if (route.meta?.auth) { const index: number = permissions.findIndex((menu) => { return route.meta.auth === menu.url }) - if (index && index > -1) { + if (index > -1) { route.meta.icon = permissions[index].icon route.meta.title = permissions[index].name isAuth = true