摘要: import axios from './axios' export default class Base { constructor() {} post(url, data) { return new Promise((resolve, reject) => { axios .post(url, 阅读全文
posted @ 2020-03-10 16:22 jzfan 阅读(193) 评论(0) 推荐(0) 编辑
摘要: function qs(search) { if(typeof search !== "string" || !search) return search; return search.split("&").reduce((res, cur) => { const arr = cur.split(" 阅读全文
posted @ 2020-03-10 11:32 jzfan 阅读(217) 评论(0) 推荐(0) 编辑