Эх сурвалжийг харах

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

john 2 жил өмнө
parent
commit
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({