提交 c9191224 编写于 作者: Q qiang

fix: app-v3 input cursorSpacing type

上级 0f9c7837
......@@ -14,7 +14,7 @@ export default {
name: 'Keyboard',
props: {
cursorSpacing: {
type: Number,
type: [Number, String],
default: 0
},
adjustPosition: {
......@@ -63,7 +63,7 @@ export default {
mode: this.adjustPosition ? 'adjustPan' : 'nothing',
position: {
top: rect.top,
height: rect.height + this.cursorSpacing
height: rect.height + (Number(this.cursorSpacing) || 0)
}
})
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册