2022-08-17 17:46:49 +08:00
|
|
|
<template>
|
2022-10-20 18:45:47 +08:00
|
|
|
<div>
|
2023-01-31 23:28:37 +08:00
|
|
|
<RouterButton :buttons="buttons" />
|
|
|
|
<LayoutContent>
|
|
|
|
<router-view></router-view>
|
|
|
|
</LayoutContent>
|
2022-10-20 18:45:47 +08:00
|
|
|
</div>
|
2022-08-17 17:46:49 +08:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
2023-01-31 23:28:37 +08:00
|
|
|
import LayoutContent from '@/layout/layout-content.vue';
|
|
|
|
import RouterButton from '@/components/router-button/index.vue';
|
2022-10-20 18:45:47 +08:00
|
|
|
|
2023-01-31 23:28:37 +08:00
|
|
|
const buttons = [
|
|
|
|
{
|
|
|
|
label: 'Mysql',
|
|
|
|
path: '/databases/mysql',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Redis',
|
|
|
|
path: '/databases/redis',
|
|
|
|
},
|
|
|
|
];
|
2022-08-17 17:46:49 +08:00
|
|
|
</script>
|