;
Uncaught TypeError: Cannot read property 'getElementsByTagName' of null
at getByClass (瀑布流原生js代码.htm:51)
at waterfall (瀑布流原生js代码.htm:44)
at window.onload (瀑布流原生js代码.htm:38)
知道了,原来我html里面写的是class 所以用byid 出不来,要把class换成id