This commit is contained in:
faiz 2024-05-21 14:18:20 +08:00
parent 5a858b4599
commit 426f741003
2 changed files with 3 additions and 3 deletions

View File

@ -2,11 +2,11 @@
ENV = 'development'
# 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'
# 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-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,

View File

@ -226,7 +226,7 @@ export default {
serviceLoginApi(id)
.then(res => {
Cookies.set('SerToken', res.data.token)
window.open(SettingMer.httpUrl + res.data.url)
window.open(location.origin + res.data.url)
})
.catch(res => {
this.$message.error(res.message)