[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,13 +1,12 @@
import { use } from '../utils';
import Picker from '../picker';
import { PickerMixin } from '../mixins/picker';
import { pickerProps } from '../picker/shared';
const [sfc, bem] = use('area');
export default sfc({
mixins: [PickerMixin],
props: {
...pickerProps,
value: String,
areaList: {
type: Object,