vue自己封装axios (统一设置请求头等等)
摘要:
import axios from "axios"; // 是否允许请求中携带cookie axios.defaults.withCredentials = true; // 请求头 X-GW-NONCE中需要的参数 function uuid() { function S4() { return 阅读全文
posted @ 2019-07-02 10:43 ㅤㅤㅤㅤㅤㅤ 阅读(819) 评论(0) 推荐(1) 编辑