You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
658 B

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