Browse Source

Merge branch 'feature/docker-env-url' of duanxiaoduan/tmr-group-admin into develop

xuyiping 1 year ago
parent
commit
10ae85b245
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/utils/request.js

+ 1 - 0
src/utils/request.js

@@ -8,6 +8,7 @@ import { getToken } from '@/utils/auth'
 var URL = process.env.VUE_APP_BASE_API
 console.log(URL,'===========URL')
 console.log(process.env.VITE_DOMAIN,'===========VITE_DOMAIN')
+console.log(this.$DOMAIN,'======this.$DOMAIN=====')
 //获取当前url
 if(URL.indexOf('/')==0 && URL.length==1){
   URL= window.location.protocol + "//"+window.location.host+URL