edit
This commit is contained in:
parent
24d9511cbe
commit
617226992f
|
@ -3,11 +3,11 @@ ENV = 'development'
|
||||||
# http://192.168.1.43:8324/admin
|
# http://192.168.1.43:8324/admin
|
||||||
# http://mer.crmeb.net/admin
|
# http://mer.crmeb.net/admin
|
||||||
# base api
|
# base api
|
||||||
VUE_APP_BASE_API = 'http://192.168.1.107:8080'
|
VUE_APP_BASE_API = 'http://192.168.1.50:8080'
|
||||||
# VUE_APP_BASE_API = 'https://plus.hwms.shop'
|
# VUE_APP_BASE_API = 'https://plus.hwms.shop'
|
||||||
|
|
||||||
# socket 连接地址
|
# socket 连接地址
|
||||||
VUE_APP_WS_URL = 'ws://192.168.1.107:8080'
|
VUE_APP_WS_URL = 'ws://192.168.1.50:8080'
|
||||||
# VUE_APP_WS_URL = 'ws://plus.hwms.shop'
|
# VUE_APP_WS_URL = 'ws://plus.hwms.shop'
|
||||||
|
|
||||||
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
|
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
|
||||||
|
|
|
@ -220,7 +220,7 @@ export default {
|
||||||
serviceLoginApi(id)
|
serviceLoginApi(id)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
Cookies.set("SerToken", res.data.token);
|
Cookies.set("SerToken", res.data.token);
|
||||||
window.open(SettingMer.httpUrl + res.data.url);
|
window.open(location.origin + res.data.url);
|
||||||
})
|
})
|
||||||
.catch(res => {
|
.catch(res => {
|
||||||
this.$message.error(res.message);
|
this.$message.error(res.message);
|
||||||
|
|
Loading…
Reference in New Issue