Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
72649434
Commit
72649434
authored
Apr 07, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改页面变量
parent
d811ebc5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
attendance-performance-manager-ui/admin/.env.test
attendance-performance-manager-ui/admin/.env.test
+1
-1
attendance-performance-manager-ui/admin/src/assets/utils/ajax.js
...nce-performance-manager-ui/admin/src/assets/utils/ajax.js
+1
-1
No files found.
attendance-performance-manager-ui/admin/.env.test
View file @
72649434
...
@@ -5,4 +5,4 @@ VUE_APP_API_BASE_URL=/basics_api
...
@@ -5,4 +5,4 @@ VUE_APP_API_BASE_URL=/basics_api
#图片地址拼接
#图片地址拼接
VUE_APP_PORTAL_URL
=
/
portal_home
VUE_APP_PORTAL_URL
=
/
portal_home
VUE_APP_PORTAL_PORT
=
110
72
VUE_APP_PORTAL_PORT
=
110
39
attendance-performance-manager-ui/admin/src/assets/utils/ajax.js
View file @
72649434
...
@@ -28,7 +28,7 @@ instance.interceptors.request.use(config => {
...
@@ -28,7 +28,7 @@ instance.interceptors.request.use(config => {
const
hostname
=
location
.
hostname
;
const
hostname
=
location
.
hostname
;
const
baseURL
=
config
.
baseURL
;
const
baseURL
=
config
.
baseURL
;
//const port = location.port;
//const port = location.port;
const
port
=
process
.
env
.
VUE_APP_PORTAL_PORT
==
'
undefined
'
?
'
110
89
'
:
process
.
env
.
VUE_APP_PORTAL_PORT
;
const
port
=
process
.
env
.
VUE_APP_PORTAL_PORT
==
'
undefined
'
?
'
110
72
'
:
process
.
env
.
VUE_APP_PORTAL_PORT
;
// 动态修改请求地址
// 动态修改请求地址
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment