[improvement] Picker: shared props (#2888)

This commit is contained in:
neverland
2019-03-02 11:03:04 +08:00
committed by GitHub
parent 0245e663d0
commit 317b9c329d
5 changed files with 32 additions and 31 deletions

View File

@@ -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,