vue-admin-template 初始化项目

修改 baseurl

const service = axios.create({
  baseURL: "http://localhost:8080", // url = base url + request url
  // withCredentials: true, // send cookies when cross-domain requests
  timeout: 5000 // request timeout
})

原文出处:https://malaoshi.top/show_1IX2LmNFevWY.html