mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-10-09 10:29:24 +08:00
Fix: Correct mobile checking
This commit is contained in:
@@ -13,7 +13,7 @@ export default {
|
|||||||
MonitorList,
|
MonitorList,
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
if (!mobile.computed.isMobile()) {
|
if (!this.$root.isMobile) {
|
||||||
this.$router.push("/dashboard");
|
this.$router.push("/dashboard");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user