pages/subnvue/input-box.nvue @@ -33,8 +33,9 @@ if(e.platform=='ios') this.space = -50 } }) uni.$on('showInput', () => { uni.$on('showInput', (e) => { this.flag = true console.log(e) this.$nextTick(()=>{ this.$refs.input.focus() })