2
0
mirror of https://github.com/frappe/books.git synced 2025-01-10 18:24:40 +00:00
books/src/pages/Desk.vue

25 lines
649 B
Vue
Raw Normal View History

2018-10-23 12:42:36 +00:00
<template>
<div class="flex">
2019-10-04 18:00:51 +00:00
<Sidebar class="w-56" />
2019-10-04 20:18:10 +00:00
<div class="flex flex-1 overflow-y-hidden">
<keep-alive exclude="ListView">
<router-view class="flex-1" :key="$route.fullPath" />
</keep-alive>
<div class="flex" v-if="$route.query.edit && $route.query.doctype && $route.query.name">
<keep-alive>
<router-view name="edit" class="w-80 flex-1" :key="$route.query.doctype + $route.query.name"/>
</keep-alive>
</div>
2018-10-23 12:42:36 +00:00
</div>
</div>
</template>
<script>
import Sidebar from '../components/Sidebar';
export default {
name: 'Desk',
components: {
Sidebar
}
2019-07-19 13:24:31 +00:00
};
2018-10-23 12:42:36 +00:00
</script>