mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[improvement] add Cell props mixin (#2189)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user