Przeglądaj źródła

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

john 2 lat temu
rodzic
commit
a9d23ac3b6
1 zmienionych plików z 1 dodań i 1 usunięć
  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({