Sfoglia il codice sorgente

默认没有的话跳转到122

luolei 4 anni fa
parent
commit
ef21f0a8a9
1 ha cambiato i file con 1 aggiunte e 6 eliminazioni
  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()