From 61c7e0e749e4de2a2090a8c670c69a1eb4fe3a42 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Wed, 28 Dec 2022 10:44:39 +0800
Subject: [PATCH] 1
---
src/components/map/index.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/components/map/index.vue b/src/components/map/index.vue
index d9b8130..4db100e 100644
--- a/src/components/map/index.vue
+++ b/src/components/map/index.vue
@@ -2,7 +2,7 @@
* @Author: shuishen 1109946754@qq.com
* @Date: 2022-08-18 17:00:30
* @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2022-12-26 09:18:51
+ * @LastEditTime: 2022-12-28 10:24:21
* @FilePath: \srs-police-affairs\src\components\map\index.vue
* @Description: 公用地图组件
*
@@ -10,6 +10,8 @@
-->
<template>
<div class="viewer-box" id="viewer-container">
+ <slot ref="mainContent" name="mainContent"></slot>
+ <slot name="showButton"></slot>
<!-- 全屏控制按钮 -->
<div class="screen-full-btn">
<el-tooltip v-if="isFullscreen" content="缩放" placement="bottom" effect="dark">
@@ -382,8 +384,8 @@
methods: {
// 模型的点击事件
tilesetClick (e) {
- if (this.$route.path != "/lyout/house") {
- this.$router.push({ path: '/lyout/house', query: { searchName: 'xxx小区' } })
+ if (this.$route.path != "/layout/house") {
+ this.$router.push({ path: '/layout/house', query: { searchName: 'xxx小区' } })
}
},
switchImg () {
--
Gitblit v1.9.3