From 72f553661a74b225c89310d3fb3d78f3ebe35f82 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期日, 28 二月 2021 10:45:04 +0800 Subject: [PATCH] m朔黄首页模拟数据更新 --- src/components/giantTree/zTree/ztree_v3/jquery.ztree.all.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/components/giantTree/zTree/ztree_v3/jquery.ztree.all.js b/src/components/giantTree/zTree/ztree_v3/jquery.ztree.all.js index b191ff7..3b74a68 100644 --- a/src/components/giantTree/zTree/ztree_v3/jquery.ztree.all.js +++ b/src/components/giantTree/zTree/ztree_v3/jquery.ztree.all.js @@ -841,6 +841,7 @@ return true; }, onClickNode: function (event, node) { + debugger var setting = data.getSetting(event.data.treeId), clickFlag = ((setting.view.autoCancelSelected && (event.ctrlKey || event.metaKey)) && data.isSelectedNode(setting, node)) ? 0 : (setting.view.autoCancelSelected && (event.ctrlKey || event.metaKey) && setting.view.selectedMulti) ? 2 : 1; if (tools.apply(setting.callback.beforeClick, [setting.treeId, node, clickFlag], true) == false) return true; @@ -1674,6 +1675,7 @@ } }, selectNode: function (setting, node, addFlag) { + debugger if (!addFlag) { view.cancelPreSelectedNode(setting, null, node); } -- Gitblit v1.8.0