mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[improvement] Picker: shared props (#2888)
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
import { use } from '../utils';
|
||||
import { prevent } from '../utils/event';
|
||||
import { deepClone } from '../utils/deep-clone';
|
||||
import { PickerMixin } from '../mixins/picker';
|
||||
import { pickerProps } from './shared';
|
||||
import Loading from '../loading';
|
||||
import PickerColumn from './PickerColumn';
|
||||
|
||||
const [sfc, bem, t] = use('picker');
|
||||
|
||||
export default sfc({
|
||||
mixins: [PickerMixin],
|
||||
|
||||
props: {
|
||||
...pickerProps,
|
||||
columns: Array,
|
||||
valueKey: {
|
||||
type: String,
|
||||
|
Reference in New Issue
Block a user