mark一下。工作中用到sea.js,改造成funi-min.js。(项目:maweb)
Q:经常运行页面报错:
Uncaught TypeError:Cannot read property 'filter' of undefined.如下图:

qww.png
A:找到对应代码行,作如下修改:
if (!e) {
e = []
}
添加如图:

aww.png
mark一下。工作中用到sea.js,改造成funi-min.js。(项目:maweb)
Uncaught TypeError:Cannot read property 'filter' of undefined.如下图:
if (!e) {
e = []
}
添加如图: