From 317c5455c6eeb7084460000055fa9d1dc6cecf4a Mon Sep 17 00:00:00 2001
From: panlinlin <648540858@qq.com>
Date: 星期四, 13 六月 2024 23:19:26 +0800
Subject: [PATCH] 修复位置信息保存失败的BUG

---
 web_src/src/components/channelList.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/web_src/src/components/channelList.vue b/web_src/src/components/channelList.vue
index ef49205..ff1d784 100755
--- a/web_src/src/components/channelList.vue
+++ b/web_src/src/components/channelList.vue
@@ -604,12 +604,13 @@
       if (row.location) {
         const segements = row.location.split(",");
         if (segements.length !== 2) {
+          console.log(1)
           this.$message.warning("浣嶇疆淇℃伅鏍煎紡鏈夎锛屼緥锛�117.234,36.378");
           return;
         } else {
           row.customLongitude = parseFloat(segements[0]);
-          row.custom_latitude = parseFloat(segements[1]);
-          if (!(row.longitude && row.latitude)) {
+          row.customLatitude = parseFloat(segements[1]);
+          if (!(row.customLongitude && row.customLatitude)) {
             this.$message.warning("浣嶇疆淇℃伅鏍煎紡鏈夎锛屼緥锛�117.234,36.378");
             return;
           }

--
Gitblit v1.8.0