chrome 浏览器中 定义download 方法,一直报 "Uncaught TypeError: string is not a function" 错误,后来将方法名修改后没事了。 不知道什么原因,网上搜了下,chrome中有几个类似这样的方法。 记住就行了吧。