使用 FormData
NOTE
TODO:本文档为存根
常见的技巧是使用Object.fromEntries
将整个 formData 转换为对象:
jsx
const data = Object.fromEntries(await request.formData());
data.songTitle;
data.lyrics;
const data = Object.fromEntries(await request.formData());
data.songTitle;
data.lyrics;