From 0a41180c686e97c9e939e6198e4fbcfb5fff72d4 Mon Sep 17 00:00:00 2001 From: OrangeM21 Date: Fri, 5 Jun 2020 13:58:23 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E4=BF=AE=E5=A4=8D=E5=BC=95=E7=94=A8Ztree?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DataZTree/components/ZTree/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/DataZTree/components/ZTree/index.vue b/src/components/DataZTree/components/ZTree/index.vue index 3763d3459..5d41f7795 100644 --- a/src/components/DataZTree/components/ZTree/index.vue +++ b/src/components/DataZTree/components/ZTree/index.vue @@ -18,7 +18,7 @@ // 导入JQuery // eslint-disable-next-line no-unused-vars import $ from '@/utils/jquery-vendor.js' -import '@ztree/ztree_v3/js/jquery.ztree.core.min.js' +import '@ztree/ztree_v3/js/jquery.ztree.all.min.js' import '@/styles/ztree.css' const defaultObject = { @@ -58,6 +58,7 @@ export default { name: this.$t('common.tree.Empty') }) } + console.log(this.treeSetting) this.zTree = $.fn.zTree.init($('#ztree'), this.treeSetting, res) if (this.treeSetting.showRefresh) { this.rootNodeAddDom(