support Tree & add dispatch and broadcast methods

support Tree,many component add name $option;add dispatch and broadcast
methods, mixins it
This commit is contained in:
梁灏 2017-03-02 17:40:19 +08:00
parent bb71140e7b
commit 34ee7b4a14
28 changed files with 190 additions and 69 deletions

View file

@ -1,10 +1,12 @@
<template>
<Tree
:data.sync="treeData"
:show-checkbox="true"
:multiple="true"
@on-select-change="selectFn"
@on-check-change="checkFn"></Tree>
<div>
<Tree
v-model="treeData"
:show-checkbox="true"
:multiple="true"
@on-select-change="selectFn"
@on-check-change="checkFn"></Tree>
</div>
</template>
<script>
export default {