forked from FoundKeyGang/FoundKey
Fix bug
This commit is contained in:
parent
06083f40d9
commit
25d8077474
1 changed files with 2 additions and 2 deletions
|
@ -80,9 +80,9 @@ export default defineComponent({
|
||||||
|
|
||||||
provide() {
|
provide() {
|
||||||
return {
|
return {
|
||||||
sideViewHook: (url) => {
|
sideViewHook: this.isDesktop ? (url) => {
|
||||||
this.$refs.side.navigate(url);
|
this.$refs.side.navigate(url);
|
||||||
}
|
} : null
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue