当试图更改Panel内容设计时,没有显示如下所示的控件:
📷
只有在我的面板页面中使用图表时,才会发生这种情况。我得到了一个错误铬检查控制台:
Uncaught SyntaxError: Unexpected token , in JSON at position 6 at JSON.parse () at Function.parseJSON (jquery.js?v=1.4.4:32) at HTMLDivElement. (charts_highcharts.js?v=1.0:11) at Function.each (jquery.js?v=1.4.4:
大家好,下面所有的Drupal8Javascript类都应该将drupalSettings附加到Drupal8JavaScript设置中。但不幸的是,这个\Drupal::service('renderer')->renderRoot($js_data);没有附加drupal javascript设置。
namespace Drupal\ejectorseat\EventSubscriber;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\Htt
我在codepen:https://codepen.io/mr_alien/pen/pNRQxK中下载了一个仪表板的代码,但我在drupal中需要它,所以我做了相应的更改,但我有这个问题(站点工作但显示这个问题):
tb-megamenu-frontend.js?ovwzqg:28 Uncaught TypeError: $(...).once is not a function
at Object.attach (tb-megamenu-frontend.js?ovwzqg:28)
at Object.<anonymous> (drupal.js?ovwzqg:7
我在我的控制台中得到了这个错误,导致其他一些JS项不能工作。
Uncaught TypeError: $(...).find(...).once is not a function
at Object.attach (eval at globalEval (jquery.min.js?v=2.2.3:2), <anonymous>:156:44)
at Object.Drupal.attachBehaviors (drupal.js?v=8.2.5:168)
at insert (ajax.js?v=8.2.5:1084)