Imorive client

This commit is contained in:
syuilo
2021-08-05 22:43:14 +09:00
parent 62ccb53c24
commit f6f96ae5bf
8 changed files with 126 additions and 103 deletions

View File

@ -1,7 +1,7 @@
<template>
<XColumn v-if="deckStore.state.alwaysShowMainColumn || $route.name !== 'index'" :column="column" :is-stacked="isStacked">
<template #header>
<XHeader :info="pageInfo"/>
<XHeader :info="pageInfo" :back-button="true" @back="back()"/>
</template>
<router-view v-slot="{ Component }" class="_flat_">
@ -56,6 +56,10 @@ export default defineComponent({
}
},
back() {
history.back();
},
onContextmenu(e) {
const isLink = (el: HTMLElement) => {
if (el.tagName === 'A') return true;