从视图启用简单的轮播时,会引发以下错误:
Uncaught TypeError: Cannot read property 'add' of null
at Object.e.initADA (slick.min.js?v=1.x:1)
at Object.e.init (slick.min.js?v=1.x:1)
at new <anonymous> (slick.min.js?v=1.x:1)
at r.fn.init.i.fn.slick (slick.min.js?v=1.x:1)
at Object.attach (script.js?pqeiq5:660)
at drupal.js?v=8.6.12:25
at Array.forEach (<anonymous>)
at Object.Drupal.attachBehaviors (drupal.js?v=8.6.12:22)
at HTMLElement.<anonymous> (ajax.js?v=8.6.12:556)
at Function.each (jquery.min.js?v=3.2.1:2)