src/views/realTimePolice/real.vue
@@ -281,7 +281,8 @@ > <iframe id="mapDiv" src="https://s16s652780.51mypc.cn/jfpt/map/index.html" ref="mapDiv" src="/map/index.html" frameborder="0" width="100%" height="100%" @@ -776,9 +777,11 @@ }, handleMap(row) { this.showMap = true; debugger; var sddsds = document.getElementById("mapDiv"); document.getElementById("mapDiv").contentWindow.dw(row.jd,row.wd) this.$nextTick(() => { this.$refs.mapDiv.onload = () => { window.frames[0].locationObj = {x:row.jd,y:row.wd}; }; }) }, handleManage(row) { this.form = row;