Commit 64633e8c845a357cede841af7abfdd1fb0cf4f35
1 parent
2f8104a3
fixed #612
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/components/tree/node.vue
@@ -26,6 +26,7 @@ | @@ -26,6 +26,7 @@ | ||
26 | </template> | 26 | </template> |
27 | <script> | 27 | <script> |
28 | import Checkbox from '../checkbox/checkbox.vue'; | 28 | import Checkbox from '../checkbox/checkbox.vue'; |
29 | + import Icon from '../icon/icon.vue'; | ||
29 | import Emitter from '../../mixins/emitter'; | 30 | import Emitter from '../../mixins/emitter'; |
30 | import { findComponentsDownward } from '../../utils/assist'; | 31 | import { findComponentsDownward } from '../../utils/assist'; |
31 | 32 | ||
@@ -34,7 +35,7 @@ | @@ -34,7 +35,7 @@ | ||
34 | export default { | 35 | export default { |
35 | name: 'TreeNode', | 36 | name: 'TreeNode', |
36 | mixins: [ Emitter ], | 37 | mixins: [ Emitter ], |
37 | - components: { Checkbox }, | 38 | + components: { Checkbox, Icon }, |
38 | props: { | 39 | props: { |
39 | data: { | 40 | data: { |
40 | type: Object, | 41 | type: Object, |