mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
fix package.lock
This commit is contained in:
parent
04943c8553
commit
856ab558b9
1 changed files with 12 additions and 0 deletions
|
@ -11,6 +11,18 @@ export default {
|
|||
components: {
|
||||
MonitorList,
|
||||
},
|
||||
mounted() {
|
||||
if (!this.$root.isMobile && this.$route.path === '/list') {
|
||||
this.$router.push('/dashboard');
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
'$root.isMobile'(newVal) {
|
||||
if (!newVal && this.$route.path === '/list') {
|
||||
this.$router.push('/dashboard');
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in a new issue