本地启动时控制台会报404,放到服务器上控制台会报405(多发一个请求)
原因:upLoad有默认的上传事件
解决:阻止默认事件即可
beforeUpload Hook function which will be executed before uploading. Uploading will be stopped with false or a rejected Promise returned.
查看API
本地启动时控制台会报404,放到服务器上控制台会报405(多发一个请求)
原因:upLoad有默认的上传事件
解决:阻止默认事件即可
beforeUpload Hook function which will be executed before uploading. Uploading will be stopped with false or a rejected Promise returned.
查看API