소스 검색

新服务指向的后端接口异常

john 2 년 전
부모
커밋
a9d23ac3b6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/utils/index.js

+ 1 - 1
src/utils/index.js

@@ -191,7 +191,7 @@ export function initEnv() {
 
 export function requestInit() {
   let baseURL = window.profileApi + '/temporary-parking/v1';
-  if (window.location.href.indexOf('tparking.') < 0) {
+  if (window.location.href.indexOf('parking.') < 0) {
     baseURL = '/msApi';
   }
   window.requestms = createAxiosByinterceptors({