Commit f87c72a0 authored by forevertyler's avatar forevertyler

update

parent 0dc544c1
...@@ -736,10 +736,10 @@ ...@@ -736,10 +736,10 @@
<script> <script>
const host = location.protocol + '//' + (location.hostname === '192.168.3.180' ? '192.168.3.37' : '192.168.13.200') + ':8013'; const host = location.protocol + '//' + (location.hostname === '192.168.3.180' ? '192.168.3.37' : '192.168.13.200') + ':8013';
// 小黄 // 小黄
//const host = location.protocol + '//' + (location.hostname === '192.168.3.180' ? '192.168.2.200' : '192.168.13.200') + ':8013'; //const host = location.protocol + '//' + (location.hostname === '192.168.3.180' ? '192.168.2.200' : '192.168.13.200') + ':8013';
const selfHost = location.hostname === '192.168.3.180' ? '192.168.3.180:8057' : location.protocol + '//' + window.location.host; const selfHost = location.hostname === '192.168.3.180' ? 'http://192.168.3.180:8057' : location.protocol + '//' + window.location.host;
const token = Cookies.get('ELADMIN-TOEKN'); const token = Cookies.get('ELADMIN-TOEKN');
axios = axios.create({ axios = axios.create({
...@@ -1618,9 +1618,9 @@ ...@@ -1618,9 +1618,9 @@
} }
}); });
this.reqMd7(); // this.reqMd7();
this.reqMd8(); // this.reqMd8();
this.reqMd3(); // this.reqMd3();
this.reqDeviceStatus(); // 设备状态 this.reqDeviceStatus(); // 设备状态
} }
......
...@@ -756,10 +756,10 @@ ...@@ -756,10 +756,10 @@
<script> <script>
const host = location.protocol + '//' + (location.hostname === '192.168.3.180' ? '192.168.3.37' : '192.168.13.200') + ':8013'; const host = location.protocol + '//' + (location.hostname === '192.168.3.180' ? '192.168.3.37' : '192.168.13.200') + ':8013';
// 小黄 // 小黄
//const host = location.protocol + '//' + (location.hostname === '192.168.3.226' ? '192.168.2.200' : '192.168.13.200') + ':8013'; //const host = location.protocol + '//' + (location.hostname === '192.168.3.180' ? '192.168.2.200' : '192.168.13.200') + ':8013';
const selfHost = location.hostname === '192.168.3.180' ? '192.168.3.180:8057' : location.protocol + '//' + window.location.host; const selfHost = location.hostname === '192.168.3.180' ? 'http://192.168.3.180:8057' : location.protocol + '//' + window.location.host;
const token = Cookies.get('ELADMIN-TOEKN'); const token = Cookies.get('ELADMIN-TOEKN');
axios = axios.create({ axios = axios.create({
......
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