diff --git a/.env.development b/.env.development index 7e70dd2..42831e1 100644 --- a/.env.development +++ b/.env.development @@ -7,7 +7,8 @@ ENV = 'development' # 若依管理系统/开发环境 # VUE_APP_BASE_API = 'http://39.101.188.84:9035' # VUE_APP_BASE_API = 'https://vue.ruoyi.vip/prod-api' -VUE_APP_BASE_API = 'http://39.101.188.84:9035' +# VUE_APP_BASE_API = 'http://39.101.188.84:9035' + # 路由懒加载 diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index ad4796d..f65eb01 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -102,7 +102,7 @@ export default { type: 'warning' }).then(() => { this.$store.dispatch('LogOut').then(() => { - location.href = '/demo/tczzpc'; + location.href = '/tczzpc'; }) }).catch(() => {}); }