add 添加设置页面

This commit is contained in:
SummerTail 2023-07-25 11:04:16 +08:00
parent 6058c7a93d
commit 63ee4e7cd0
3 changed files with 17 additions and 1 deletions

View File

@ -49,7 +49,7 @@ import {
</el-menu-item-group> </el-menu-item-group>
</el-sub-menu> </el-sub-menu>
<el-menu-item index="3"> <el-menu-item index="/settings">
<el-icon> <el-icon>
<el-icon><Operation /></el-icon> <el-icon><Operation /></el-icon>
</el-icon> </el-icon>

View File

@ -0,0 +1,11 @@
<script setup>
</script>
<template>
<h1>设置</h1>
</template>
<style scoped lang="scss">
</style>

View File

@ -29,6 +29,11 @@ const routes = [
path: "addSubscribe", path: "addSubscribe",
name: "addSubscribe", name: "addSubscribe",
component: () => import ("../page/subscribe/addSubscribe.vue") component: () => import ("../page/subscribe/addSubscribe.vue")
},
{
path: "settings",
name: "settings",
component:() => import("../page/settings.vue")
} }
], ],
component: () => import("../page/index.vue"), component: () => import("../page/index.vue"),