Heim  >  Fragen und Antworten  >  Hauptteil

Javascript – verspricht Kompatibilität in iOS7, unter Verwendung der http-Bibliothek axios, vuejs

Ich habe Axios verwendet, um die Anfrage zu senden. Die iOS-Version des Benutzers ist i07.2. Die Protokollprüfung hat keine Ajax-Anfrage gesendet. Voraussetzung ist, dass es eine Möglichkeit gibt, das Axios-Kompatibilitätsproblem von ios7 zu lösen. Oder beantworten Sie, ob Axios Versprechen unterstützt.

巴扎黑巴扎黑2680 Tage vor833

Antworte allen(1)Ich werde antworten

  • PHP中文网

    PHP中文网2017-06-17 09:18:09

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

    不支持。

    需要 polyfill 方案:

    import Promise from 'es6-promise';
    
    Promise.polyfill();
    

    Antwort
    0
  • StornierenAntwort