How to implement this submission form, the saving path is fine, as long as the data can be saved, it can also be saved in a database, and you don’t need to design it into the backend, just use the front end to implement this function. This is a question worth thinking about! If anyone knows how to write it, please add me at 2547196547 and tell me. I really don’t know! Thank you!
刘某2019-04-22 13:08:59
Try the FileSaver.js plug-in,
var downloadTextFile = function(content) { var file = new File([content], "demo.txt", { type: "text/plain;charset=utf-8" }); saveAs(file); }
It can meet your needs