在使用zTree 框架时前端报错Uncaught (in promise) TypeError: Cannot read property ‘init‘ of undefined
错误提示: Uncaught (in promise) TypeError: Cannot read property 'init' of undefined 排查路线:这个句子翻译的意思是init这个东西没有被定义,下面是我写的代码,里面会发生变化的变量只有zTree 这一个变量。 this.ztree = $.fn.ztree.init($("#treeDemo"), setting, zNo…