fix:曲阳更改ip地址
This commit is contained in:
parent
e7c983001b
commit
ae3e6aa1ec
|
@ -91,7 +91,7 @@ export default {
|
|||
mounted(){
|
||||
let that = this;
|
||||
let host = window.location.host;
|
||||
let jsUrl = host.indexOf('localhost')>-1?'http://222.222.144.147:6013/jsmap/jsmap.js':window.location.protocol + "//" + host+'/jsmap/jsmap.js';
|
||||
let jsUrl = host.indexOf('localhost')>-1?'http://111.11.19.54:6013/jsmap/jsmap.js':window.location.protocol + "//" + host+'/jsmap/jsmap.js';
|
||||
console.log(jsUrl)
|
||||
that.loadScript('mapId',jsUrl, () => {
|
||||
that.canUseMap = true;
|
||||
|
|
|
@ -154,7 +154,7 @@ export default {
|
|||
this.getArea();
|
||||
let that = this;
|
||||
let host = window.location.host;
|
||||
let jsUrl = host.indexOf('localhost') > -1 ? 'http://222.222.144.147:6013/jsmap/jsmap.js' : window.location.protocol + "//" + host+'/jsmap/jsmap.js';
|
||||
let jsUrl = host.indexOf('localhost') > -1 ? 'http://111.11.19.54:6013/jsmap/jsmap.js' : window.location.protocol + "//" + host+'/jsmap/jsmap.js';
|
||||
that.loadScript('mapId', jsUrl, () => {
|
||||
that.canUseMap = true;
|
||||
})
|
||||
|
|
|
@ -127,9 +127,9 @@ export default {
|
|||
showWechatLogin: false,
|
||||
isWechatLoginResult: false,
|
||||
showApp: false,
|
||||
appUrl: 'http://222.222.144.147:6013/media/zc_ehs.apk',
|
||||
appUrl: 'http://111.11.19.54:6013/media/zc_ehs.apk',
|
||||
showH5: false,
|
||||
h5Url: 'http://222.222.144.147:6013/h5/',
|
||||
h5Url: 'http://111.11.19.54:6013/h5/',
|
||||
loginType:'password',
|
||||
loginTypeOptions: [
|
||||
{label: "账号登录", value: "password"},
|
||||
|
|
Loading…
Reference in New Issue