bugfix display tag view in mobile device (#326)
parent
2d9b33398e
commit
ed74a67ea7
|
@ -17,6 +17,18 @@ export default {
|
||||||
computed: {
|
computed: {
|
||||||
scrollWrapper() {
|
scrollWrapper() {
|
||||||
return this.$refs.scrollContainer.$refs.wrap
|
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: {
|
methods: {
|
||||||
|
|
Loading…
Reference in New Issue