props.js 574 B

1234567891011121314151617181920
  1. import defprops from '../../libs/config/props';
  2. export default {
  3. props: {
  4. // 键盘的类型,number-数字键盘,card-身份证键盘
  5. mode: {
  6. type: String,
  7. default: defprops.numberKeyboard.value
  8. },
  9. // 是否显示键盘的"."符号
  10. dotDisabled: {
  11. type: Boolean,
  12. default: defprops.numberKeyboard.dotDisabled
  13. },
  14. // 是否打乱键盘按键的顺序
  15. random: {
  16. type: Boolean,
  17. default: defprops.numberKeyboard.random
  18. }
  19. }
  20. }