压缩代码

v1.0
bobi 2019-05-14 21:59:12 +08:00
parent 3a39f9fa85
commit 7346dbea44
2 changed files with 4 additions and 22 deletions

View File

@ -60,18 +60,9 @@
// zTree设置 // zTree设置
var setting = { var setting = {
data: { data: {
simpleData: { simpleData: {enable: true, idKey: "id", pIdKey: "parentId", rootPId: 0}
enable: true,
idKey: "id",
pIdKey: "parentId",
rootPId: 0
}
}, },
check: { check: {enable: true, chkStyle: "checkbox", radioType: "all"}
enable: true,
chkStyle: "checkbox",
radioType: "all"
}
}; };
// zTree异步请求所有权限树节点 // zTree异步请求所有权限树节点

View File

@ -60,18 +60,9 @@
// zTree设置 // zTree设置
var setting = { var setting = {
data: { data: {
simpleData: { simpleData: {enable: true, idKey: "id", pIdKey: "parentId", rootPId: 0}
enable: true,
idKey: "id",
pIdKey: "parentId",
rootPId: 0
}
}, },
check: { check: {enable: true, chkStyle: "checkbox", radioType: "all"}
enable: true,
chkStyle: "checkbox",
radioType: "all"
}
}; };
// zTree异步请求所有权限树节点 // zTree异步请求所有权限树节点