From 833cc05e4a0d5a66fecda772be3ac07b621c4cd9 Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期日, 26 三月 2023 17:14:46 +0800
Subject: [PATCH] 官网一张图修改,发布管理修改,模型挂附件修改

---
 src/components/preview_map.vue |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/components/preview_map.vue b/src/components/preview_map.vue
index 3defe49..f99013c 100644
--- a/src/components/preview_map.vue
+++ b/src/components/preview_map.vue
@@ -1014,6 +1014,21 @@
       return Math.round(d * p) / p;
     },
     update() {
+      if (isNaN(this.modelForm.lon) || !this.modelForm.lon) {
+        return
+      }
+      if (isNaN(this.modelForm.lat) || !this.modelForm.lat) {
+        return
+      }
+      if (isNaN(this.modelForm.height) || !this.modelForm.height) {
+        return
+      }
+      if (isNaN(this.modelForm.alpha) || !this.modelForm.alpha) {
+        return
+      }
+      if (isNaN(this.modelForm.yaw) || !this.modelForm.yaw) {
+        return
+      }
       this.setTilesetArgs(this.modelForm);
       sgworld.Analysis.UndergroundMode(this.app.under, this.modelForm.alpha)
     },

--
Gitblit v1.9.3