去掉debugger
Showing
1 changed file
with
0 additions
and
2 deletions
| ... | @@ -241,7 +241,6 @@ const initGraph = () => { | ... | @@ -241,7 +241,6 @@ const initGraph = () => { |
| 241 | { | 241 | { |
| 242 | type: 'collapse-expand', | 242 | type: 'collapse-expand', |
| 243 | onChange: (item, collapsed) => { | 243 | onChange: (item, collapsed) => { |
| 244 | debugger | ||
| 245 | if (!item) { | 244 | if (!item) { |
| 246 | return; | 245 | return; |
| 247 | } | 246 | } |
| ... | @@ -250,7 +249,6 @@ const initGraph = () => { | ... | @@ -250,7 +249,6 @@ const initGraph = () => { |
| 250 | return true; | 249 | return true; |
| 251 | }, | 250 | }, |
| 252 | shouldBegin: (e) => { | 251 | shouldBegin: (e) => { |
| 253 | debugger | ||
| 254 | // 若当前操作的节点 id 为 'node1',则不发生 collapse-expand | 252 | // 若当前操作的节点 id 为 'node1',则不发生 collapse-expand |
| 255 | if (e.item && e.item.getModel().isLoading == true) return false; | 253 | if (e.item && e.item.getModel().isLoading == true) return false; |
| 256 | return true; | 254 | return true; | ... | ... |
-
Please register or sign in to post a comment