How to not duplicate data when using fs.writeFile?

前端 未结 0 1099
南旧
南旧 2021-01-11 09:57

I\'m trying to get some data from a simple form and write a JSON file using node JS and FS. I need this:

[{"id":1,"answer1":"C",         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题