Commit 89f2ba8bad4a53027457bf3eeca94e749be5a7ac
1 parent
ff16f096
init Tree component
init Tree component
Showing
9 changed files
with
56 additions
and
1 deletions
Show diff stats
src/index.js
... | ... | @@ -40,6 +40,7 @@ import Timeline from './components/timeline'; |
40 | 40 | import TimePicker from './components/time-picker'; |
41 | 41 | import Tooltip from './components/tooltip'; |
42 | 42 | import Transfer from './components/transfer'; |
43 | +import Tree from './components/tree'; | |
43 | 44 | import Upload from './components/upload'; |
44 | 45 | import { Row, Col } from './components/layout'; |
45 | 46 | import { Select, Option, OptionGroup } from './components/select'; |
... | ... | @@ -105,6 +106,7 @@ const iview = { |
105 | 106 | TimePicker, |
106 | 107 | Tooltip, |
107 | 108 | Transfer, |
109 | + Tree, | |
108 | 110 | Upload |
109 | 111 | }; |
110 | 112 | ... | ... |
src/styles/components/index.less
test/app.vue
test/main.js
... | ... | @@ -150,6 +150,11 @@ router.map({ |
150 | 150 | require(['./routers/upload.vue'], resolve); |
151 | 151 | } |
152 | 152 | }, |
153 | + '/tree': { | |
154 | + component: function (resolve) { | |
155 | + require(['./routers/tree.vue'], resolve); | |
156 | + } | |
157 | + }, | |
153 | 158 | }); |
154 | 159 | |
155 | 160 | router.beforeEach(function () { | ... | ... |