FormData.append () can add key-value pairs, such as formData.append ("A1", "aa");
, but now I want to change the second parameter, that is, the value, to a json object, such as FormData.append ("bbb":1: {" bbb":1})
, but when it is sent to the backend, it is always [object Object]
,
above:
:
I don"t know how to write this, and please give me some advice.