From 84f34d58b520d251b3d68aaa7e6058909c1ccff1 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 07 Jul 2022 17:48:51 +0800
Subject: [PATCH] 修改
---
src/components/remote/index.vue | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/components/remote/index.vue b/src/components/remote/index.vue
index b72da19..90e6af9 100644
--- a/src/components/remote/index.vue
+++ b/src/components/remote/index.vue
@@ -253,6 +253,9 @@
global.DC.ready(initViewer)
},
methods: {
+ deactivate () {
+ global.viewer.measure.deactivate()
+ },
// 根据地址获取坐标
addrToGetCoordinate (addr) {
@@ -293,6 +296,7 @@
that.$message(e)
})
},
+
setLocation () {
const longreg = /^(\-|\+)?(((\d|[1-9]\d|1[0-7]\d|0{1,3})\.\d{0,15})|(\d|[1-9]\d|1[0-7]\d|0{1,3})|180\.0{0,15}|180)$/
const latreg = /^(\-|\+)?([0-8]?\d{1}\.\d{0,15}|90\.0{0,15}|[0-8]?\d{1}|90)$/
@@ -349,9 +353,11 @@
this.$message('格式错误!')
}
},
+
closeSplitScreen () {
this.screenShow = false
},
+
splitScreen () {
this.screenShow = true
},
--
Gitblit v1.9.3