我想發送包含對象中對象的表單數據let submit_obj = { test : { kor : "korea" , eng : "usa"} }let test_form = new FormData();test_form.append(test, submit_obj ); $.ajax({ url : '/api/filesave', type : 'post', dataType : 'josn', data : test_form, contentType : false, processData : false, success: function(res){ console.log('res',res); } });和 API 響應req.body = Object { test : "[object Object]" }如何提取測試值??感謝您的回答
如何在 JavaScript 中使用表單數據
慕哥6287543
2023-06-09 17:29:12