From 8aa3edd56c279100c9053576f3e90fa55459fe77 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Mon, 16 Jan 2023 16:15:55 +0800
Subject: [PATCH] 修改
---
src/views/supervisoryConsole/map.vue | 25 +++++++++++--------------
1 files changed, 11 insertions(+), 14 deletions(-)
diff --git a/src/views/supervisoryConsole/map.vue b/src/views/supervisoryConsole/map.vue
index 7e9b272..a1bf3ab 100644
--- a/src/views/supervisoryConsole/map.vue
+++ b/src/views/supervisoryConsole/map.vue
@@ -1,15 +1,13 @@
<template>
<el-row>
- <el-col :span="24">
- <iframe
- id="supervisoryMap"
- ref="supervisoryMap"
- :src="baseUrl"
- frameborder="0"
- width="100%"
- height="100%"
- ></iframe>
- </el-col>
+ <iframe
+ id="supervisoryMap"
+ ref="supervisoryMap"
+ :src="baseUrl"
+ frameborder="0"
+ width="100%"
+ height="100%"
+ ></iframe>
</el-row>
</template>
@@ -17,16 +15,15 @@
export default {
data() {
return {
- baseUrl: "",
+ baseUrl: "",
};
},
created() {
this.baseUrl = `/map/index.html?openid=SupervisoryMap`;
},
mounted() {
-
// this.$refs.supervisoryMap.onload = () => {
- // window.frames[0].init("AlertSecurity", {
+ // window.frames[1].init("AlertSecurity", {
// x: this.form.jd,
// y: this.form.wd,
// });
@@ -36,4 +33,4 @@
</script>
<style>
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3