数组在第一次push的时候fileIdList已经不是一个数组而是一串字符串了,所以再次push的时候已经就没有push方法了,解决方案是
react项目中开发报错:push is not a function
原文:https://www.cnblogs.com/lzjie/p/10552563.html