diff --git a/.env.sim b/.env.sim index 5a9b024..2ae3119 100644 --- a/.env.sim +++ b/.env.sim @@ -5,7 +5,10 @@ ENV = 'development' VUE_APP_TITLE = 链友融财务数字一体化信息系统 # 链友融财务数字一体化信息系统/开发环境 -VUE_APP_BASE_API = 'http://60.204.223.58:8080' +# 测试 +#VUE_APP_BASE_API = 'http://60.204.223.58:8080' +# 方楠 +VUE_APP_BASE_API = 'https://2537287x0n.imdo.co' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.env.test b/.env.test index 5a9b024..2ae3119 100644 --- a/.env.test +++ b/.env.test @@ -5,7 +5,10 @@ ENV = 'development' VUE_APP_TITLE = 链友融财务数字一体化信息系统 # 链友融财务数字一体化信息系统/开发环境 -VUE_APP_BASE_API = 'http://60.204.223.58:8080' +# 测试 +#VUE_APP_BASE_API = 'http://60.204.223.58:8080' +# 方楠 +VUE_APP_BASE_API = 'https://2537287x0n.imdo.co' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/src/api/login.js b/src/api/login.js index 4094926..d74a60a 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -1,4 +1,5 @@ import request from '@/plugin/axios' +import { getRefreshToken } from '@/utils/auth' // 登录 export function loginIn(data) { return request({ @@ -45,4 +46,13 @@ export function reqCheck(data) { }) } +// 刷新访问令牌 +export function refreshToken() { + return request({ + url: '/system/auth/refresh-token?refreshToken=' + getRefreshToken(), + method: 'post' + }) +} + + diff --git a/src/assets/style/common/form.scss b/src/assets/style/common/form.scss index a8ab637..e2a9425 100644 --- a/src/assets/style/common/form.scss +++ b/src/assets/style/common/form.scss @@ -73,7 +73,7 @@ color: #05a9ff; margin-left: 0.5rem; display: flex; - align-items: end; + align-items: flex-end; font-size: 0.8rem; ::v-deep .van-icon { diff --git a/src/views/errorPage/503.vue b/src/views/errorPage/503.vue index 371ccc8..75d0887 100644 --- a/src/views/errorPage/503.vue +++ b/src/views/errorPage/503.vue @@ -10,7 +10,7 @@