add platform
This commit is contained in:
1 parent
fc378d4903
commit
f805eaaa1e
8 files changed
+99
-24
No files matched your search
@@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<el-menu class="h-full">
|
||||
<el-menu-item>
|
||||
<el-menu class="h-full" router>
|
||||
<el-menu-item index="/content/article">
|
||||
<el-icon class="mr-2">
|
||||
<document />
|
||||
</el-icon>
|
||||
<template #title>{{ $t('content.nav.article') }}</template>
|
||||
</el-menu-item>
|
||||
<el-menu-item>
|
||||
<el-menu-item index="/content/platform">
|
||||
<el-icon class="mr-2">
|
||||
<box />
|
||||
</el-icon>
|
||||
@@ -17,11 +17,20 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { Document, Box } from '@element-plus/icons';
|
||||
import routes from '@/router/content';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
Document,
|
||||
Box
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
routes
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
console.log(routes);
|
||||
}
|
||||
};
|
||||
</script>
|
||||
Reference in new issue
Block a user