Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
Nei_Meng_An_Jian_4
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kimber
Nei_Meng_An_Jian_4
Commits
a2a529f2
Commit
a2a529f2
authored
Oct 18, 2024
by
Kimber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'update'
parent
25c666a4
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
7 deletions
+11
-7
.env.production
.env.production
+3
-1
CommHeader.vue
src/components/comm/CommHeader.vue
+2
-1
request2.js
src/utils/request2.js
+2
-1
request5.js
src/utils/request5.js
+2
-2
Home.vue
src/views/Home.vue
+2
-2
No files found.
.env.production
View file @
a2a529f2
...
...
@@ -2,6 +2,8 @@ NODE_ENV = 'production'
#VUE_APP_BASE_API = 'http://192.168.100.226:8080/production'
#VUE_APP_BASE_API = 'http://39.98.150.124:8000/production'
# VUE_APP_BASE_API = 'http://120.224.103.84:9111/production'
VUE_APP_BASE_API = 'http://10.185.163.57:8000/production'
# VUE_APP_BASE_API = 'http://60.31.138.166:8000/production'
VUE_APP_LOCAL_API = 'http://60.31.138.166:8000'
outputDir = 'production'
src/components/comm/CommHeader.vue
View file @
a2a529f2
...
...
@@ -71,7 +71,8 @@ export default {
// window.open('http://Ndwq.jingkongyun.com/')
// window.open('http://192.168.3.226:8083/dashboard')
// window.open('http://120.224.103.84:8083/dashboard')
window
.
open
(
'
http://10.185.163.57:8001/dashboard
'
)
//window.open('http://10.185.163.57:8001/dashboard')
window
.
open
(
'
http://60.31.138.166:8001/dashboard
'
)
return
;
}
this
.
$store
.
commit
(
"
SET_IS_LEFT
"
,
false
);
...
...
src/utils/request2.js
View file @
a2a529f2
...
...
@@ -8,7 +8,8 @@ const service = axios.create({
// baseURL: 'http://192.168.1.123:8000/',
//baseURL: 'http://192.168.3.188:8000/',
// baseURL: 'http://120.224.103.84:9111/',
baseURL
:
'
http://10.185.163.57:8000/
'
,
//baseURL: 'http://10.185.163.57:8000/',
baseURL
:
process
.
env
.
VUE_APP_LOCAL_API
+
'
/
'
,
timeout
:
30000
,
})
...
...
src/utils/request5.js
View file @
a2a529f2
...
...
@@ -6,8 +6,8 @@ const service = axios.create({
// baseURL: 'http://192.168.3.216:8000/', // 大龙
// baseURL: 'http://192.168.1.123:8000/', //小葱
// baseURL: 'http://120.224.103.84:9111/',
baseURL
:
'
http://10.185.163.57:8000/
'
,
//
baseURL: 'http://10.185.163.57:8000/',
baseURL
:
process
.
env
.
VUE_APP_LOCAL_API
+
'
/
'
,
timeout
:
30000
,
})
...
...
src/views/Home.vue
View file @
a2a529f2
...
...
@@ -135,7 +135,7 @@ export default {
methods
:
{
getUserInfo
()
{
axios
({
url
:
'
http://10.185.163.57:8000
/auth/info
'
,
url
:
process
.
env
.
VUE_APP_LOCAL_API
+
'
/auth/info
'
,
method
:
'
get
'
,
headers
:
{
Authorization
:
decodeURIComponent
(
this
.
getParameter
(
'
token
'
)),
...
...
@@ -146,7 +146,7 @@ export default {
})
.
catch
(
err
=>
{
// console.log('用户信息错误',err)
location
.
href
=
'
http://
10.185.163.57
:8001/login?from=daping
'
location
.
href
=
'
http://
60.31.138.166
:8001/login?from=daping
'
})
},
onRightImg
()
{
...
...
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