fixed bug with focus

This commit is contained in:
supertiger1234 2020-02-15 14:23:29 +00:00
parent f908cb437e
commit d4087164fe

View file

@ -789,7 +789,7 @@ export default {
}, },
selectedChannelID() { selectedChannelID() {
this.$nextTick(() => { this.$nextTick(() => {
if (!isMobile) this.$refs["input-box"].focus(); if (!this.mobile) this.$refs["input-box"].focus();
}); });
} }
}, },