Commit 962bde68 authored by JingChao's avatar JingChao

keyboard

parent 153ca5b6
......@@ -315,10 +315,15 @@ export default {
methods: {
closeKeyboard () {
let vm = this
this.show = false
let wrapper = document.querySelector('[vum-show-keyborad]')
if (wrapper && vm.keyBoardPlugin) {
this.show = false
try {
document.body.removeChild(wrapper)
} catch (e) {
}
} else if (vm.keyBoardPlugin === false && vm.hideOnClickOutside) {
this.onClose()
}
},
showNumberKeyboard (options) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment