react项目中开发报错:push is not a function

数组在第一次push的时候fileIdList已经不是一个数组而是一串字符串了,所以再次push的时候已经就没有push方法了,解决方案是

 

posted on 2019-03-18 15:47  卖火柴咯  阅读(918)  评论(0编辑  收藏  举报

导航