enhance(client): improve usability
This commit is contained in:
parent
4f208b99ff
commit
00982d2742
@ -94,6 +94,11 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
|
|
||||||
created() {
|
created() {
|
||||||
|
if (window.innerWidth < 1024) {
|
||||||
|
localStorage.setItem('ui', 'default');
|
||||||
|
location.reload();
|
||||||
|
}
|
||||||
|
|
||||||
document.documentElement.style.overflowY = 'scroll';
|
document.documentElement.style.overflowY = 'scroll';
|
||||||
|
|
||||||
if (this.$store.state.widgets.length === 0) {
|
if (this.$store.state.widgets.length === 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user