20 lines
565 B
JavaScript
20 lines
565 B
JavaScript
import { defineMixin } from '../../libs/vue'
|
|
import CarKeyboardDefaultProps from './carKeyboard'
|
|
import { registerComponentProps } from '../../libs/config/props.js'
|
|
|
|
const defProps = registerComponentProps(CarKeyboardDefaultProps)
|
|
export const props = defineMixin({
|
|
props: {
|
|
// 是否打乱键盘按键的顺序
|
|
random: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
// 输入一个中文后,是否自动切换到英文
|
|
autoChange: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}
|
|
})
|