Commit e6d97de5 authored by 郭铭瑶's avatar 郭铭瑶 🤘

换视屏地址

parent 49106f01
......@@ -19,9 +19,9 @@
</body>
<script src="./static/hls.js"></script>
<!-- 下面是开发用 -->
<!-- <script src="./static/SMap.min.js"></script> -->
<script src="./static/SMap.min.js"></script>
<!-- 下面是生产用 -->
<script src="./static/esm/SMap.min.js"></script>
<!-- <script src="./static/esm/SMap.min.js"></script> -->
<script src="./static/Plugins.min.js"></script>
<script src="./static/GeoTask.min.js"></script>
......
let BASE_URL = ''
let DATA_URL = ''
let VIDEO_URL = ''
const DATA_URL = 'http://10.89.1.208:10005'
const VIDEO_URL = 'http://10.89.4.179:27343'
switch (process.env.NODE_ENV) {
case 'production':
BASE_URL = 'http://10.89.4.164:18080/api'
VIDEO_URL = 'http://10.89.4.179:27343'
// BASE_URL = 'http://yangpu.hm.omniview.pro/api'
// VIDEO_URL = 'http://10.89.1.208:7000/hawkeye'
DATA_URL = 'http://10.89.1.208:10005'
// BASE_URL = 'http://10.89.4.164:18080/api'
BASE_URL = 'http://yangpu.hm.omniview.pro/api'
break
default:
BASE_URL = 'http://yangpu.hm.omniview.pro/api'
VIDEO_URL = 'http://10.89.1.208:7000/hawkeye'
DATA_URL = 'http://10.89.1.208:10005'
}
export default {
BASE_URL,
......
......@@ -232,7 +232,7 @@ export default {
}, 1000 * 60 * 30)
},
init() {
const {name, id} = this.currentStreetInfo
const {name, } = this.currentStreetInfo
document.querySelector('title').innerText = `${name}城市运行平台`
const {map} = this.$refs
this.initMapFocus()
......
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