diff --git a/.env.development b/.env.development index fe92452..2623e82 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ ENV = 'development' VUE_APP_BASE_API = '/test-api' # VUE_APP_BASE_TARGET = 'http://www.keyitest.cn/test-api' -VUE_APP_BASE_TARGET = 'http://192.168.0.129:9999' +VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' # VUE_APP_BASE_TARGET = 'http://172.16.36.180:9999' # 路由懒加载 diff --git a/src/views/trainService/talentPool.vue b/src/views/trainService/talentPool.vue index b492e55..51e6a81 100644 --- a/src/views/trainService/talentPool.vue +++ b/src/views/trainService/talentPool.vue @@ -185,8 +185,8 @@ export default { // 是否更新已经存在的用户数据 updateSupport: 0, // 设置上传的请求头部 - // headers: { Authorization: 'Bearer ' + getToken() }, - headers: { isToken: false }, + headers: { Authorization: 'Bearer ' + getToken() }, + // headers: { isToken: false }, // 上传的地址 url: process.env.VUE_APP_BASE_API + '/talent/admin/import', },