[improvement] add Cell props mixin (#2189)

This commit is contained in:
neverland
2018-11-30 15:45:50 +08:00
committed by GitHub
parent fe805af905
commit d8ff9f3d34
8 changed files with 45 additions and 38 deletions

View File

@@ -39,24 +39,17 @@
<script>
import { raf } from '../utils/raf';
import create from '../utils/create';
import findParent from '../mixins/find-parent';
import CellMixin from '../mixins/cell';
import FindParent from '../mixins/find-parent';
export default create({
name: 'collapse-item',
mixins: [findParent],
mixins: [CellMixin, FindParent],
props: {
icon: String,
label: String,
name: [String, Number],
title: [String, Number],
value: [String, Number],
disabled: Boolean,
border: {
type: Boolean,
default: true
},
isLink: {
type: Boolean,
default: true