mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-01 01:25:45 -04:00
Compare commits
8 Commits
211e64c5a6
...
1a6a0c030a
Author | SHA1 | Date | |
---|---|---|---|
|
1a6a0c030a | ||
|
cfd20f086c | ||
|
2aebf316a4 | ||
|
8389f7c054 | ||
|
d64eefd70e | ||
|
d4c7ebfafe | ||
|
aae0673a3d | ||
|
45c03c2b40 |
@ -19,6 +19,16 @@ export default {
|
||||
onResize() {
|
||||
this.windowWidth = window.innerWidth;
|
||||
this.updateBody();
|
||||
|
||||
if (this.$router.currentRoute.value.path === "/dashboard"
|
||||
|| this.$router.currentRoute.value.path === "/list") {
|
||||
this.$router.push({
|
||||
path: this.isMobile
|
||||
? "/list"
|
||||
: "/dashboard",
|
||||
query: this.$router.currentRoute.value?.query,
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user