2022-08-17 17:46:49 +08:00
|
|
|
<template>
|
2022-09-27 16:57:23 +08:00
|
|
|
<div>
|
2023-01-11 18:09:01 +08:00
|
|
|
<RouterButton :buttons="buttons" />
|
2022-09-27 16:57:23 +08:00
|
|
|
<LayoutContent>
|
|
|
|
<router-view></router-view>
|
|
|
|
</LayoutContent>
|
|
|
|
</div>
|
2022-08-17 17:46:49 +08:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
import LayoutContent from '@/layout/layout-content.vue';
|
2023-01-11 18:09:01 +08:00
|
|
|
import RouterButton from '@/components/router-button/index.vue';
|
|
|
|
import i18n from '@/lang';
|
2022-11-28 13:50:53 +08:00
|
|
|
|
2023-01-11 18:09:01 +08:00
|
|
|
const buttons = [
|
|
|
|
{
|
|
|
|
label: i18n.global.t('app.all'),
|
|
|
|
path: '/apps/all',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: i18n.global.t('app.installed'),
|
|
|
|
path: '/apps/installed',
|
|
|
|
},
|
|
|
|
];
|
2022-08-17 17:46:49 +08:00
|
|
|
</script>
|