john пре 2 година
родитељ
комит
aabbf64b7b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/utils/index.js

+ 1 - 1
src/utils/index.js

@@ -173,7 +173,7 @@ export function wxToLoginCallback( path,callback ) {
 export function initEnv() {
   const href = window.location.href;
   console.log('当前页面的url地址  ',href);
-  if ( /dev-|8080/.test(href) ) {
+  if ( /dev-|808[0-9]/.test(href) ) {
     window.env = 'qa';
     window.profileApi = 'https://qa-apim.kerryplus.com/c/api';
     window.cmrApi = 'https://qa-crm.kerryplus.com/xcrm-api/api';