Browse Source

console: add log for url

Yi 1 year ago
parent
commit
b890a5b89d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/utils/request.js

+ 1 - 0
src/utils/request.js

@@ -19,6 +19,7 @@ if (reg.test(browserUrl)){
   axios.defaults.baseURL = window.location.protocol +"//"+ browserUrl + ":8087/"
 }
 
+console.log("url=========",axios.defaults.baseURL)
 // create an axios instance
 const service = axios.create({
   //baseURL: process.env.VUE_APP_BASE_API, // 根目录路径