简体   繁体   中英

fileReader.readAsText returns a string with quote

fileReader.readAsText puts a pair of double quotes around the content of the file in the http body .

Is there a way to remove the quotes ?

My bad. In the javascript code that wrap around the func, there is a call to stringify. Problem solved.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM