压缩代码

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设置
var setting = {
data: {
simpleData: {
enable: true,
idKey: "id",
pIdKey: "parentId",
rootPId: 0
}
simpleData: {enable: true, idKey: "id", pIdKey: "parentId", rootPId: 0}
},
check: {
enable: true,
chkStyle: "checkbox",
radioType: "all"
}
check: {enable: true, chkStyle: "checkbox", radioType: "all"}
};
// zTree异步请求所有权限树节点

View File

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