fix deck navigation

This commit is contained in:
syuilo 2020-12-27 18:13:50 +09:00
parent 3fc427b699
commit 3c65e7b76e
3 changed files with 17 additions and 8 deletions

View file

@ -50,6 +50,14 @@ export default defineComponent({
DeckColumnCore,
},
provide() {
return deckStore.state.navWindow ? {
navHook: (url) => {
os.pageWindow(url);
}
} : {};
},
data() {
return {
deckStore,