使用FormData时报错:TypeError: 'append' called on an object that does not implement interface FormData
解决方法很简单:
在ajax中加入这两句话就行:
processData: false,
contentType: false
使用FormData时报错:TypeError: 'append' called on an object that does not implement interface FormData
解决方法很简单:
在ajax中加入这两句话就行:
processData: false,
contentType: false