summaryrefslogtreecommitdiffstats
path: root/common/src/main/webapp/thirdparty/zTree/api/cn/setting.data.key.url.html
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/main/webapp/thirdparty/zTree/api/cn/setting.data.key.url.html')
-rw-r--r--common/src/main/webapp/thirdparty/zTree/api/cn/setting.data.key.url.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/common/src/main/webapp/thirdparty/zTree/api/cn/setting.data.key.url.html b/common/src/main/webapp/thirdparty/zTree/api/cn/setting.data.key.url.html
new file mode 100644
index 0000000..e534d98
--- /dev/null
+++ b/common/src/main/webapp/thirdparty/zTree/api/cn/setting.data.key.url.html
@@ -0,0 +1,24 @@
+<div class="apiDetail">
+<div>
+ <h2><span>String</span><span class="path">setting.data.key.</span>url</h2>
+ <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
+ <div class="desc">
+ <p></p>
+ <div class="longdesc">
+ <p>zTree 节点数据保存节点链接的目标 URL 的属性名称。</p>
+ <p class="highlight_red">特殊用途:当后台数据只能生成 url 属性,又不想实现点击节点跳转的功能时,可以直接修改此属性为其他不存在的属性名称</p>
+ <p>默认值:"url"</p>
+ </div>
+ </div>
+ <h3>setting 举例</h3>
+ <h4>1. 设置 zTree 显示节点时,将 treeNode 的 xUrl 属性当做节点链接的目标 URL</h4>
+ <pre xmlns=""><code>var setting = {
+ data: {
+ key: {
+ url: "xUrl"
+ }
+ }
+};
+......</code></pre>
+</div>
+</div> \ No newline at end of file