From 513e1bdf4b2703409d9e4dbb776e67ffa0c134a6 Mon Sep 17 00:00:00 2001 From: WX <1377869194@qq.com> Date: 星期三, 13 九月 2023 09:52:15 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.20.92:8888/r/PM20230220027_Web --- src/views/search/search.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/search/search.vue b/src/views/search/search.vue index f3b59ae..546e6f9 100644 --- a/src/views/search/search.vue +++ b/src/views/search/search.vue @@ -87,7 +87,7 @@ @click="setPointLocal(item)" > <div class="table_th_x">{{ flag + 1 }}</div> - <div class="table_th">{{ item.enName }}</div> + <div class="table_th">{{ item.name }}</div> </div> </div> </div> @@ -129,8 +129,10 @@ const NumhandleChange = (value: number) => {}; const handleChange = (val: string[]) => {}; const setPoitCannel = () => { - imageLabel.deleteObject(); - imageLabel = null; + if (imageLabel) { + imageLabel.deleteObject(); + imageLabel = null; + } }; const setPointLocal = (res) => { if (imageLabel) { @@ -139,7 +141,7 @@ var position = { X: res.lon, Y: res.lat, Altitude: 10 }; imageLabel = window.sgworld.Creator.CreateImageLabel( position, - config.StaticFileBaseUrl + "/Workers/image/mark.png", + config.StaticFileBaseUrl + "/Workers/image/location.png", {}, 0, "鏍囩鐐�" -- Gitblit v1.9.3