11
Showing
1 changed file
with
10 additions
and
0 deletions
... | @@ -466,6 +466,16 @@ | ... | @@ -466,6 +466,16 @@ |
466 | }, | 466 | }, |
467 | data () { | 467 | data () { |
468 | return { | 468 | return { |
469 | normalizer (node) { | ||
470 | if (node.children == null || node.children == "null") { | ||
471 | delete node.children; | ||
472 | } | ||
473 | return { | ||
474 | id: node.dcode, | ||
475 | label: node.dname, | ||
476 | children: node.children, | ||
477 | }; | ||
478 | }, | ||
469 | isSave: true, | 479 | isSave: true, |
470 | loading: false, | 480 | loading: false, |
471 | mjdw: "1", | 481 | mjdw: "1", | ... | ... |
-
Please register or sign in to post a comment