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 | 55 | return; |
| 56 | 56 | } |
| 57 | 57 | loading = loadingFunction(); |
| 58 | + | |
| 58 | 59 | if (node.data.type < 400) { |
| 59 | 60 | lasyCarNo(node, tree); |
| 60 | 61 | node.initChild = true; |
| ... | ... | @@ -123,9 +124,8 @@ function layCarNoChildren(oldData, node, data, result) { |
| 123 | 124 | |
| 124 | 125 | function layCarNoConcatArr(d, node, data, result) { |
| 125 | 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 | 129 | layDataParent(d,treeData); |
| 130 | 130 | d.spread = true; |
| 131 | 131 | d.initChild= true; |
| ... | ... | @@ -139,9 +139,6 @@ function layCarNoConcatArr(d, node, data, result) { |
| 139 | 139 | if (result) { |
| 140 | 140 | d.wvpLiveBroadcast = result.wvpLiveBroadcast; |
| 141 | 141 | } |
| 142 | - | |
| 143 | - console.log("------------------------>"); | |
| 144 | - console.log(d); | |
| 145 | 142 | } else { |
| 146 | 143 | layCarNoChildren(d.children, node, data, result); |
| 147 | 144 | } | ... | ... |