|
@@ -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
|