diff --git a/.env.production b/.env.production index aa22a934..558a1c07 100644 --- a/.env.production +++ b/.env.production @@ -1,8 +1,8 @@ # 页面标题 -VUE_APP_TITLE = 博诺思管理系统 +VUE_APP_TITLE = 绿智食堂 # 生产环境配置 ENV = 'production' -# 博诺思管理系统/生产环境 -VUE_APP_BASE_API = '/prod-api' +# 绿智食堂/生产环境 +VUE_APP_BASE_API = '/canteen/dev-api' diff --git a/package.json b/package.json index 0b43c319..674b1867 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bonus", "version": "3.6.4", - "description": "博诺思管理系统", + "description": "绿智食堂", "author": "博诺思", "license": "MIT", "scripts": { diff --git a/src/components/HeaderSearch/index.vue b/src/components/HeaderSearch/index.vue index 7d6780be..29115447 100644 --- a/src/components/HeaderSearch/index.vue +++ b/src/components/HeaderSearch/index.vue @@ -35,7 +35,7 @@ export default { } }, computed: { - routes() { + routes() { return this.$store.getters.permission_routes } }, diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 3c26ed0f..5884d21e 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -96,7 +96,7 @@ export default { type: 'warning' }).then(() => { this.$store.dispatch('LogOut').then(() => { - location.href = '/index'; + location.href = '/canteen/glweb/'; }) }).catch(() => {}); } diff --git a/src/layout/components/Sidebar/Link.vue b/src/layout/components/Sidebar/Link.vue index 8b0bc93b..fa7b8930 100644 --- a/src/layout/components/Sidebar/Link.vue +++ b/src/layout/components/Sidebar/Link.vue @@ -6,7 +6,9 @@