修复Zabbix下拉菜单空问题.

/ 0评 / 0

问题如下,凡是下拉菜单就这样.

错误信息

jsLoader.php?lang=zh_CN&ver=6.2.0&showGuiMessaging=1:19422 Uncaught TypeError: Template is not a constructor
    at ZSelect.addOption (jsLoader.php?lang=zh_CN&ver=6.2.0&showGuiMessaging=1:19422:18)
    at ZSelect.init (jsLoader.php?lang=zh_CN&ver=6.2.0&showGuiMessaging=1:19378:13)
    at ZSelect.connectedCallback (jsLoader.php?lang=zh_CN&ver=6.2.0&showGuiMessaging=1:19284:8)
    at jsLoader.php?lang=zh_CN&ver=6.2.0&showGuiMessaging=1:19942:16

实际是JS加载问题,修改jsLoader.php,提前加载class.template.js问题解决.

问题解决.

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注