From fe936486ee0023e4be8d17625471aad6e8e284ff Mon Sep 17 00:00:00 2001
From: longyvfengyun <496960745@qq.com>
Date: 星期四, 24 八月 2023 10:52:35 +0800
Subject: [PATCH] 内容调整

---
 src/components/MapPin.vue |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/components/MapPin.vue b/src/components/MapPin.vue
index 0d9182d..bce232c 100644
--- a/src/components/MapPin.vue
+++ b/src/components/MapPin.vue
@@ -48,6 +48,10 @@
 				diff: 0
 			}
 		}
+	},
+	noInfo: {
+		type: Boolean,
+		default: false,
 	}
 });
 
@@ -72,9 +76,9 @@
 			<el-tooltip :placement="placement" :visible="visible">
 				<template #content>
 					<div class="home-info name">{{name}}</div>
-					<div class="home-info">娓╁害锛歿{ info.tmp }} 鈩�</div>
-					<div class="home-info">婀垮害锛歿{ info.hum }} %RH</div>
-					<div class="home-info">鍘嬪樊锛歿{ info.diff }} Pa</div>
+					<div class="home-info" v-if="!noInfo">娓╁害锛歿{ info.tmp }} 鈩�</div>
+					<div class="home-info" v-if="!noInfo">婀垮害锛歿{ info.hum }} %RH</div>
+					<div class="home-info" v-if="!noInfo">鍘嬪樊锛歿{ info.diff }} Pa</div>
 				</template>
 				<div class="map-pin-content" @click="handleClick">
 					<div class="pin"></div>

--
Gitblit v1.9.1