Commit 3d15cab5 authored by 李驰骋's avatar 李驰骋

扫码失焦问题

parent d079254d
...@@ -100,11 +100,14 @@ import BottomBtn from "@/components/BottomBtn/index.vue"; ...@@ -100,11 +100,14 @@ import BottomBtn from "@/components/BottomBtn/index.vue";
this.$nextTick(() => { this.$nextTick(() => {
this.isFocus = true; this.isFocus = true;
}); });
}, },
methods: { methods: {
focus(){ focus(){
this.$nextTick(() => {
setTimeout(()=>{
uni.hideKeyboard();
},500);
});
}, },
blur(){ blur(){
this.isFocus = false; this.isFocus = false;
......
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