This commit is contained in:
AceDataCloud committed 2021-08-28 14:47:24 +08:00
1 parent 9091f41012
commit 1ff6d27ab8
12 files changed
+78 -18

No files matched your search

+2 -2
View File
@@ -7,8 +7,8 @@
<el-row>
<el-col>
<el-menu :default-active="active" class="el-menu-demo" mode="horizontal" @select="onSelect">
<el-menu-item index="home" v-t="'menu.home'" v-if="false"></el-menu-item>
<el-menu-item index="editor" v-t="'menu.editor'"></el-menu-item>
<el-menu-item index="home" v-t="'common.home'" v-if="false"></el-menu-item>
<el-menu-item index="editor" v-t="'common.editor'"></el-menu-item>
</el-menu>
</el-col>
</el-row>
+27
View File
@@ -0,0 +1,27 @@
<template>
<el-menu class="h-full">
<el-menu-item>
<el-icon :size="size" :color="color" class="mr-2">
<document />
</el-icon>
<template #title>{{ $t('content.sidebar.article') }}</template>
</el-menu-item>
<el-menu-item>
<el-icon :size="size" :color="color" class="mr-2">
<box />
</el-icon>
<template #title>{{ $t('content.sidebar.platform') }}</template>
</el-menu-item>
</el-menu>
</template>
<script lang="ts">
import { Document, Box } from '@element-plus/icons';
export default {
components: {
Document,
Box
}
};
</script>