Giter VIP home page Giter VIP logo

Comments (5)

guo-yu avatar guo-yu commented on June 14, 2024

FormData 在 IE 8-9 中应该都是不支持的。这是为了异步上传图片到 又拍云或七牛云用的。考虑到并不是一个前端面对用户的功能,所以非 admin 用户应该是接触不到的~

from airpub.

guo-yu avatar guo-yu commented on June 14, 2024

formData 对象只有在 IE10 中才被支持 :(
http://stackoverflow.com/questions/15475215/formdata-in-ie8-9

from airpub.

Frederick-S avatar Frederick-S commented on June 14, 2024

不过由于在加载 upyun.js 的时候直接抛出了异常,if (!window.FormData) throw new Error('FormData required.');,造成没有注入模块到 angular,最后加载 upyun 模块的时候就失败了,所以非 admin 用户进入首页也看不到文章。

from airpub.

guo-yu avatar guo-yu commented on June 14, 2024

@Frederick-S 这是个问题。我马上在 upyun 模块中修复成等触发事件时再做检查。

from airpub.

guo-yu avatar guo-yu commented on June 14, 2024

这个问题已经在 upyun 模块的新版本中得到解决。Airpub 将在 3.x 版本开始依赖这个新版本 :)

from airpub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.