vue兼容IE11 axios 走不了接口已经应用了es6-promise和babel-polyfill,页面是出来的,但是一旦走接口在报错相关代码require("babel-polyfill")require('es6-promise').polyfill();import axios from 'axios'
1 回答

POPMUISE
TA贡献1765条经验 获得超5个赞
网络请求的代码呢? 另外,require("babel-polyfill"),再引require('es6-promise').polyfill()多余
添加回答
举报
0/150
提交
取消