Commit b57d22c564773462c0f719b3526d0fa0b12ee159
1 parent
9a47a573
修改超时时间
Showing
1 changed file
with
3 additions
and
6 deletions
src/main/resources/static/other/video/video.js
| @@ -55,6 +55,7 @@ function initTreeOpt(data, tree) { | @@ -55,6 +55,7 @@ function initTreeOpt(data, tree) { | ||
| 55 | return; | 55 | return; |
| 56 | } | 56 | } |
| 57 | loading = loadingFunction(); | 57 | loading = loadingFunction(); |
| 58 | + | ||
| 58 | if (node.data.type < 400) { | 59 | if (node.data.type < 400) { |
| 59 | lasyCarNo(node, tree); | 60 | lasyCarNo(node, tree); |
| 60 | node.initChild = true; | 61 | node.initChild = true; |
| @@ -123,9 +124,8 @@ function layCarNoChildren(oldData, node, data, result) { | @@ -123,9 +124,8 @@ function layCarNoChildren(oldData, node, data, result) { | ||
| 123 | 124 | ||
| 124 | function layCarNoConcatArr(d, node, data, result) { | 125 | function layCarNoConcatArr(d, node, data, result) { |
| 125 | if (d.id === node.data.id && d.type === node.data.type) { | 126 | if (d.id === node.data.id && d.type === node.data.type) { |
| 126 | - if (isEmpty(d.children)) { | ||
| 127 | - d.children = []; | ||
| 128 | - } | 127 | + d.children = []; |
| 128 | + | ||
| 129 | layDataParent(d,treeData); | 129 | layDataParent(d,treeData); |
| 130 | d.spread = true; | 130 | d.spread = true; |
| 131 | d.initChild= true; | 131 | d.initChild= true; |
| @@ -139,9 +139,6 @@ function layCarNoConcatArr(d, node, data, result) { | @@ -139,9 +139,6 @@ function layCarNoConcatArr(d, node, data, result) { | ||
| 139 | if (result) { | 139 | if (result) { |
| 140 | d.wvpLiveBroadcast = result.wvpLiveBroadcast; | 140 | d.wvpLiveBroadcast = result.wvpLiveBroadcast; |
| 141 | } | 141 | } |
| 142 | - | ||
| 143 | - console.log("------------------------>"); | ||
| 144 | - console.log(d); | ||
| 145 | } else { | 142 | } else { |
| 146 | layCarNoChildren(d.children, node, data, result); | 143 | layCarNoChildren(d.children, node, data, result); |
| 147 | } | 144 | } |