From 7418fac14e36f653647857cb87f4ba81e1ea549f Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 25 Oct 2020 15:45:47 +0900 Subject: [PATCH] Fix bug --- src/client/ui/default.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/ui/default.vue b/src/client/ui/default.vue index c16ea8008..ae91405ed 100644 --- a/src/client/ui/default.vue +++ b/src/client/ui/default.vue @@ -80,9 +80,9 @@ export default defineComponent({ provide() { return { - sideViewHook: (url) => { + sideViewHook: this.isDesktop ? (url) => { this.$refs.side.navigate(url); - } + } : null }; },