我有WordPress版本4.7.5和WooCommerce 3.1.1
当我尝试添加一些属性时,页面进入加载循环。
然后我打开浏览器检查控制台(chrome)消息错误就在那里,出现了很多错误。这是消息:
未捕获错误:选项' ajax'当附加到< select>时,Select2不允许使用元件。
at String。< anonymous> (select2.min.js:21)
在Function.each(load-scripts.php?c = 0& load [] = jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery ...:2)
在d.prepareOpts(select2.min.js:21)
在d.prepareOpts(select2.min.js:22)
在d.init(select2.min.js:21)
在HTMLSelectElement。< anonymous> (select2.min.js:22)
在Function.each(load-scripts.php?c = 0& load [] = jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery ...:2)
at a.fn.init.each(load-scripts.php?c = 0& load [] = jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery ...:2)
at a.fn.init.a.fn.select2(select2.min.js:22)
在HTMLSelectElement。< anonymous> (WC-增强型select.min.js:1)