压缩代码
parent
3a39f9fa85
commit
7346dbea44
|
|
@ -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异步请求所有权限树节点
|
||||||
|
|
|
||||||
|
|
@ -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异步请求所有权限树节点
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue