Commit ecf6c2fae9f123f47bc4b5e19e6ee095f041b37f

Authored by 梁灏
1 parent c89e0e17

update dependence

Showing 2 changed files with 4 additions and 3 deletions   Show diff stats
examples/routers/tree.vue
1 1 <template>
2 2 <div>
3   - <Tree :data="baseData" show-checkbox></Tree>
  3 + <Tree :data="baseData" show-checkbox multiple></Tree>
4 4 <Button @click="handleAdd">add</Button>
5 5 <Button @click="handleUpdate">update</Button>
6 6 </div>
... ... @@ -13,6 +13,7 @@
13 13 {
14 14 expand: true,
15 15 title: 'parent 1',
  16 + checked: true,
16 17 children: [
17 18 {
18 19 title: 'parent 1-0',
... ... @@ -30,7 +31,7 @@
30 31 },
31 32 {
32 33 title: 'parent 1-1',
33   - expand: true,
  34 + expand: false,
34 35 checked: true,
35 36 children: [
36 37 {
... ...
package.json
... ... @@ -49,7 +49,7 @@
49 49 "tinycolor2": "^1.4.1"
50 50 },
51 51 "peerDependencies": {
52   - "vue": "^2.4.3"
  52 + "vue": "^2.5.2"
53 53 },
54 54 "devDependencies": {
55 55 "autoprefixer-loader": "^2.0.0",
... ...