1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 23:11:24 +08:00

ggb commit first progress in 2023/5/1 02:53

This commit is contained in:
GGB
2023-05-01 02:54:46 +08:00
parent da612fd917
commit 0a67905525
7 changed files with 578 additions and 3 deletions

View File

@@ -0,0 +1,29 @@
<template>
<el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal">
<el-menu-item index="1"
><router-link to="/todo" style="text-decoration: none"
>待办工作</router-link
></el-menu-item
>
<el-menu-item index="2"
><router-link to="complete" style="text-decoration: none"
>已办工作</router-link
></el-menu-item
>
</el-menu>
<router-view></router-view>
</template>
<script>
export default {
name: 'TaskPage',
data() {
return {
activeIndex: '1'
}
},
created() {
this.$router.push('/todo')
}
}
</script>