mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
Compare commits
No commits in common. "17cffa75287ea7d5a843e7354e54173d53cf8be0" and "ffa8aad01922ceb95c557267b76b2750bda82d50" have entirely different histories.
17cffa7528
...
ffa8aad019
1 changed files with 5 additions and 3 deletions
|
@ -14,15 +14,16 @@ export default {
|
|||
watch: {
|
||||
"$root.isMobile"(newVal) {
|
||||
if (!newVal && this.$route.path === "/list") {
|
||||
this.$router.replace({ path: "/dashboard" });
|
||||
this.$router.push("/dashboard");
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
if (!this.$root.isMobile && this.$route.path === "/list") {
|
||||
this.$router.replace({ path: "/dashboard" });
|
||||
this.$router.push("/dashboard");
|
||||
}
|
||||
},
|
||||
|
||||
};
|
||||
</script>
|
||||
|
||||
|
@ -32,4 +33,5 @@ export default {
|
|||
.shadow-box {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue