bugfix display tag view in mobile device (#326)

pull/3759/head
Leonel Matos 2020-02-11 18:18:09 -04:00 committed by GitHub
parent 2d9b33398e
commit ed74a67ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -17,6 +17,18 @@ export default {
computed: {
scrollWrapper() {
return this.$refs.scrollContainer.$refs.wrap
},
isMobile() {
return this.$store.state.app.device === 'mobile'
}
},
watch: {
isMobile(value) {
if (value) {
this.$refs.scrollContainer.$refs.resize.style.display = 'flex'
} else {
this.$refs.scrollContainer.$refs.resize.style.display = ''
}
}
},
methods: {