update dependence

This commit is contained in:
梁灏 2017-10-24 15:47:07 +08:00
parent c89e0e1791
commit ecf6c2fae9
2 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<Tree :data="baseData" show-checkbox></Tree> <Tree :data="baseData" show-checkbox multiple></Tree>
<Button @click="handleAdd">add</Button> <Button @click="handleAdd">add</Button>
<Button @click="handleUpdate">update</Button> <Button @click="handleUpdate">update</Button>
</div> </div>
@ -13,6 +13,7 @@
{ {
expand: true, expand: true,
title: 'parent 1', title: 'parent 1',
checked: true,
children: [ children: [
{ {
title: 'parent 1-0', title: 'parent 1-0',
@ -30,7 +31,7 @@
}, },
{ {
title: 'parent 1-1', title: 'parent 1-1',
expand: true, expand: false,
checked: true, checked: true,
children: [ children: [
{ {

View file

@ -49,7 +49,7 @@
"tinycolor2": "^1.4.1" "tinycolor2": "^1.4.1"
}, },
"peerDependencies": { "peerDependencies": {
"vue": "^2.4.3" "vue": "^2.5.2"
}, },
"devDependencies": { "devDependencies": {
"autoprefixer-loader": "^2.0.0", "autoprefixer-loader": "^2.0.0",