diff --git a/.env.development b/.env.development index f4c698c..f86b7dd 100644 --- a/.env.development +++ b/.env.development @@ -8,7 +8,7 @@ ENV = 'development' VUE_APP_BASE_API = '/dev-api' #后端路径 -VUE_APP_URL = 'http://localhost:8088' +VUE_APP_URL = 'https://api.xiaoces.com' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/src/permission.js b/src/permission.js index 36256f4..b66190b 100644 --- a/src/permission.js +++ b/src/permission.js @@ -18,7 +18,6 @@ const isWhiteList = (path) => { router.beforeEach((to, from, next) => { NProgress.start() if (getToken()) { - debugger; to.meta.title && store.dispatch('settings/setTitle', to.meta.title) /* has token*/ if (to.path === '/login') {