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

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

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