소스 검색

默认没有的话跳转到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',
             gourl:'http://192.168.2.121:5654/cdss.html',
             imgurl:'http://192.168.2.121:82'
             imgurl:'http://192.168.2.121:82'
         }
         }
-    }else if(window.location.href.indexOf('192.168.2.122')>-1){
+    }else{
         return {
         return {
             gourl:'http://192.168.2.122:5654/cdss.html',
             gourl:'http://192.168.2.122:5654/cdss.html',
             imgurl:'http://192.168.2.122:82'
             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()
 let urlSelect = geturl()