index.js 609 B

1234567891011121314151617181920212223242526
  1. import baseComponent from '../helpers/baseComponent'
  2. import popupMixin from '../helpers/mixins/popupMixin'
  3. import { props } from '../multi-picker-view/props'
  4. baseComponent({
  5. behaviors: [popupMixin()],
  6. properties: {
  7. ...props,
  8. prefixCls: {
  9. type: String,
  10. value: 'wux-popup-picker',
  11. },
  12. multiPickerPrefixCls: {
  13. type: String,
  14. value: 'wux-picker',
  15. },
  16. cascade: {
  17. type: Boolean,
  18. value: false,
  19. },
  20. cols: {
  21. type: Number,
  22. value: 3,
  23. },
  24. },
  25. })