javascript - promise compatibility in ios7, using axios, vuejs http library
巴扎黑
巴扎黑 2017-06-17 09:16:09
0
1
785

I used axios to send the request. The user's ios version is i07.2. The log check did not send an ajax request. The requirement is that there is any way to solve the axios compatibility issue of ios7. Or answer whether axios supports promises.

巴扎黑
巴扎黑

reply all (1)
洪涛

http://caniuse.com/#search=pr...

Not supported.

Requires polyfill solution:

import Promise from 'es6-promise'; Promise.polyfill();
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!