From 4b8d1881c9f019f155bf3920a38c11a46c38c528 Mon Sep 17 00:00:00 2001 From: lijingyu007 <904564792@qq.com> Date: Thu, 23 May 2024 17:54:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E6=89=8D=E5=AF=BC=E5=85=A5=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E5=A4=B4=E5=8A=A0token?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- src/views/trainService/talentPool.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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', },