From 53c88484130d109dcc0cbb21bc0bb20a1b3220bd Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Sat, 08 May 2021 15:27:55 +0800
Subject: [PATCH] iframe替换
---
src/views/realTimePolice/real.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/views/realTimePolice/real.vue b/src/views/realTimePolice/real.vue
index 74dedae..1be720c 100644
--- a/src/views/realTimePolice/real.vue
+++ b/src/views/realTimePolice/real.vue
@@ -149,7 +149,7 @@
</el-drawer>
</basic-container>
</template>
-
+
<script>
import { getList, remove, update, add, getclient } from "@/api/real/real";
import { mapGetters } from "vuex";
@@ -800,7 +800,7 @@
this.showMap = true;
this.$nextTick(() => {
this.$refs.mapDiv.onload = () => {
- window.frames[0].init("ClientManagement", { x: row.jd, y: row.wd });
+ window.frames[1].init("ClientManagement", { x: row.jd, y: row.wd });
};
});
},
@@ -929,7 +929,7 @@
},
};
</script>
-
+
<style>
.el-card__body .waringTypeClass {
width: 12%;
@@ -1045,4 +1045,4 @@
.tabFontSize {
font-size: 15px;
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3