From 0af4ecb9b2047b8ba6d00e891050cf2d68b829a6 Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期六, 27 五月 2023 20:41:18 +0800
Subject: [PATCH] 代码提交

---
 src/views/Synthesis/LeftMenu.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/views/Synthesis/LeftMenu.vue b/src/views/Synthesis/LeftMenu.vue
index 750b659..54eaa7d 100644
--- a/src/views/Synthesis/LeftMenu.vue
+++ b/src/views/Synthesis/LeftMenu.vue
@@ -2235,11 +2235,16 @@
       }
     },
     addAnalysisFlood() {
+      var url = window.location.href;
+      var testurl = "";
+      if (url.indexOf("web") != -1) {
+        testurl = "/web";
+      }
       var method = {
         pointSelect: true,
         spood: 20,
         GroupID: 0,
-        url: "/SmartEarthSDK/Workers/image/33.gif",
+        url: testurl + "/SmartEarthSDK/Workers/image/33.gif",
       };
       window.AnalysisFlood = sgworld.Command.execute(
         2,
@@ -3184,7 +3189,6 @@
 
 
     this.$bus.$on("setDialogInsertVisible", (res) => {
-
       if (res == true) {
         this.dialogVisible1 = true;
       } else {

--
Gitblit v1.9.3