Commit 7d932d29 by 前端

修复bug

1 parent bbda2c95
...@@ -103,8 +103,7 @@ const getBaseUrl = () => { ...@@ -103,8 +103,7 @@ const getBaseUrl = () => {
const resData = res.data; const resData = res.data;
console.log(resData); console.log(resData);
if(resData) { if(resData) {
//const resBaseURL = resData.axios.baseURL; const resBaseURL = resData.axios.baseURL;
store.commit('updateBaseURL', resBaseURL); store.commit('updateBaseURL', resBaseURL);
baseFlag = !resBaseURL; baseFlag = !resBaseURL;
resolve(resBaseURL); resolve(resBaseURL);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!