解决方法:
在代码$list.append($li);前面加上var $list = $("#fileList");
更多细节查看官方demo 请查看
http://tp.miaosuwulimi.cn/w/237.html