From 04dba6a17f836b5fbdf0eedff8a129c6785fd8a2 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期五, 28 二月 2025 18:25:00 +0800
Subject: [PATCH] 111

---
 admin/src/components/business/OperaRentSiteWindow.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/admin/src/components/business/OperaRentSiteWindow.vue b/admin/src/components/business/OperaRentSiteWindow.vue
index d099f86..aba4ca0 100644
--- a/admin/src/components/business/OperaRentSiteWindow.vue
+++ b/admin/src/components/business/OperaRentSiteWindow.vue
@@ -62,8 +62,8 @@
   data () {
     const longAndLatVal = (rule, value, callback) => {
       let longAndLat = value.split(',')
-      this.form.longitude = longAndLat[0]
-      this.form.latitude = longAndLat.length==2 ? longAndLat[1] : ''
+      this.form.latitude = longAndLat[0]
+      this.form.longitude = longAndLat.length==2 ? longAndLat[1] : ''
       if (!this.form.longitude || !this.form.latitude) {
         callback(new Error())
       } else {
@@ -125,14 +125,14 @@
         for (const key in this.form) {
           this.form[key] = target[key]
         }
-        this.form.longAndLat = `${this.form.longitude},${this.form.latitude}`
+        this.form.longAndLat = `${this.form.latitude},${this.form.longitude}`
       })
     },
     changeLongAndLat(v) {
       let longAndLat = v.split(',')
       // console.log(longAndLat);
-      this.form.longitude = longAndLat[0]
-      this.form.latitude = longAndLat.length==2 ? longAndLat[1] : ''
+      this.form.latitude = longAndLat[0]
+      this.form.longitude = longAndLat.length==2 ? longAndLat[1] : ''
     }
   },
 }

--
Gitblit v1.9.3