Explorar el Código

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

john hace 2 años
padre
commit
a9d23ac3b6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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({