optimized code

This commit is contained in:
zuiidea
2017-07-27 19:13:31 +08:00
parent a2b4ee4047
commit 1e08d7adaa
58 changed files with 429 additions and 323 deletions
+2 -1
View File
@@ -1,10 +1,11 @@
/* global window */
import axios from 'axios'
import qs from 'qs'
import { YQL, CORS } from './config'
import jsonp from 'jsonp'
import lodash from 'lodash'
import pathToRegexp from 'path-to-regexp'
import { message } from 'antd'
import { YQL, CORS } from './config'
const fetch = (options) => {
let {