Browse Source

弹出软键盘

hella_online_20240829
lijuncheng 6 months ago
parent
commit
4a8d7cd833
  1. 2
      src/mycomponents/scan/winComScan.vue
  2. 6
      src/mycomponents/scan/winComScanFg.vue

2
src/mycomponents/scan/winComScan.vue

@ -223,7 +223,7 @@
this.$nextTick(r => {
that.boxfocus = true;
});
this.hide()
// this.hide()
},
losefocus() {
let that = this;

6
src/mycomponents/scan/winComScanFg.vue

@ -104,14 +104,14 @@
},
mounted() {
this.boxfocus = true;
uni.hideKeyboard();
// uni.hideKeyboard();
// #ifdef H5
if (document.querySelector('textarea') != null) {
document.querySelector('textarea').setAttribute('inputmode', 'none')
}
// #endif
this.hide()
// this.hide()
// #ifdef APP-PLUS
// #endif
@ -238,7 +238,7 @@
this.$nextTick(r => {
that.boxfocus = true;
});
this.hide()
// this.hide()
},
losefocus() {
let that = this;

Loading…
Cancel
Save