Various compatibility problems in IE

1. babel-pollyfill

2. Use AXIOS to intercept problems in get request cache

axiosIns.interceptors.request.use(config=>{ if (config.method === 'get') { config.params = { t: Date.parse(new Date()) / 1000, ... config.params } } return config })Copy the code

3. Time formatting

The background returns a connection in the format of '-', which Chrome can parse. Replace (/-/g, "/")Copy the code

4. EncodeURIComponent is used to encode Chinese addresses