修改网页路径

dev
夜笙歌 1 year ago
parent 51735d149e
commit f4d150967d

@ -183,6 +183,7 @@ export default {
}, },
createMap() { createMap() {
map = new AMap.Map('map', { map = new AMap.Map('map', {
// mapStyle: 'amap://styles/blue',
zoom: 11, zoom: 11,
center: [113.4, 23.35], center: [113.4, 23.35],
}); });

@ -77,7 +77,7 @@
</el-image> </el-image>
<el-image <el-image
v-else-if="i.devicePic" v-else-if="i.devicePic"
:src="i.devicePic" :src=" typeof i.devicePic === 'string'?i.devicePic.replace('http:','') : i.devicePic "
style="width: 100%; height: 100%"> style="width: 100%; height: 100%">
</el-image> </el-image>
<el-image <el-image
@ -211,7 +211,7 @@ export default {
} }
}, },
async getDevice(e) { async getDevice(e) {
if(this.$store.getters.sceneId){ if (this.$store.getters.sceneId) {
const {data} = await selectDevicesByMonitorUnitId(e, this.$store.getters.sceneId) const {data} = await selectDevicesByMonitorUnitId(e, this.$store.getters.sceneId)
this.deviceId = e this.deviceId = e
this.controlList = data.control this.controlList = data.control

Loading…
Cancel
Save