提交 ae9438ca 编写于 作者: Skyeye云's avatar Skyeye云

修复组织结构点击展开节点无限加载的问题

上级 cbdec66b
......@@ -32,7 +32,7 @@ layui.config({
range: false
});
//初始化上传
// 初始化上传
$("#userPhoto").upload({
"action": reqBasePath + "common003",
"data-num": "1",
......@@ -43,10 +43,10 @@ layui.config({
}
});
//初始化公司
// 初始化公司
dtree.render({
elem: "#demoTree1",
url: reqBasePath + 'companymation007',
url: reqBasePath + 'queryCompanyMationListTree',
dataStyle: 'layuiStyle',
done: function(){
if($("#demoTree1 li").length > 0){
......
......@@ -58,7 +58,7 @@ layui.config({
// 初始化公司
dtree.render({
elem: "#demoTree1", // 绑定元素
url: reqBasePath + 'companymation007', // 异步接口
url: reqBasePath + 'queryCompanyMationListTree', // 异步接口
dataStyle: 'layuiStyle',
done: function(){
if($("#demoTree1 li").length > 0){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册