$(...).niceScroll is not a function 或者 $(...) is not a function 通常是由于jquery重复引起的。
我这次的$(...).niceScroll is not a function,检查了顺序,是jquery,nicescoll,业务js,没有问题。
最后把nicescoll的引入位置往上调了调,解决了。
应该是跟别的js插件冲突了,具体是哪个也没有深究。
$(...).niceScroll is not a function 或者 $(...) is not a function 通常是由于jquery重复引起的。
我这次的$(...).niceScroll is not a function,检查了顺序,是jquery,nicescoll,业务js,没有问题。
最后把nicescoll的引入位置往上调了调,解决了。
应该是跟别的js插件冲突了,具体是哪个也没有深究。