问题
FormData.get is undefined in Chrome
https://developer.mozilla.org/en-US/docs/Web/API/FormData/get
回答1:
By default, Chrome does not support the .get()
method, as well as delete
, get
, getAll
, has
, and set
. Although you can enable that functionality by activating an experimental flag, note from MDN:
[2] Chrome support for methods other than append is currently behind the "Enable Experimental Web Platform Features" flag.
For activating flags in Chrome you can go to the following link:
chrome://flags/#enable-experimental-webkit-features
来源:https://stackoverflow.com/questions/33004860/formdata-get-function-is-undefined