axios请求封装一下
import axios from "axios";
import { Loading, Message } from "element-ui";
import tool from "./NB.js";
import store from "../store/index.js";
const service = axios.create({
baseURL: tool.getServeUrl(),//url请求路径
withCredentials: true
});
service.interc
原创
2020-08-08 09:34:25 ·
97 阅读 ·
0 评论