1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-21 09:19:16 +08:00

29 lines
647 B
Vue
Raw Normal View History

2022-08-17 17:46:49 +08:00
<template>
<div>
2023-01-11 18:09:01 +08:00
<RouterButton :buttons="buttons" />
<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';
const buttons = [
{
label: i18n.global.t('app.all'),
path: '/apps/all',
},
{
label: i18n.global.t('app.installed'),
path: '/apps/installed',
},
2023-01-16 15:30:24 +08:00
{
label: i18n.global.t('app.canUpdate'),
path: '/apps/update',
},
2023-01-11 18:09:01 +08:00
];
2022-08-17 17:46:49 +08:00
</script>