Преглед изворни кода

默认没有的话跳转到122

luolei пре 4 година
родитељ
комит
ef21f0a8a9
1 измењених фајлова са 1 додато и 6 уклоњено
  1. 1 6
      src/utils/config.js

+ 1 - 6
src/utils/config.js

@@ -32,16 +32,11 @@ function geturl(){
             gourl:'http://192.168.2.121:5654/cdss.html',
             imgurl:'http://192.168.2.121:82'
         }
-    }else if(window.location.href.indexOf('192.168.2.122')>-1){
+    }else{
         return {
             gourl:'http://192.168.2.122:5654/cdss.html',
             imgurl:'http://192.168.2.122:82'
         }
-    }else{
-        return {
-            gourl:'http://192.168.2.236:5654/cdss.html',
-            imgurl:'http://192.168.2.236:82'
-        }
     }
 }
 let urlSelect = geturl()