Commit a2a529f2 authored by Kimber's avatar Kimber

'update'

parent 25c666a4
......@@ -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'
......@@ -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);
......
......@@ -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,
})
......
......@@ -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,
})
......
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment