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

temp 2023/5/3

This commit is contained in:
GGB
2023-05-03 15:38:49 +08:00
parent 9b33b1061d
commit 41b6c77509
15 changed files with 187 additions and 123 deletions

View File

@@ -1,15 +1,7 @@
<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 :default-active="activeIndex" class="el-menu-demo" mode="horizontal" router>
<el-menu-item index="1" route="/work/task/todo">待办工作</el-menu-item>
<el-menu-item index="2" route="/work/task/complete">已办工作</el-menu-item>
</el-menu>
<router-view></router-view>
</template>
@@ -21,9 +13,6 @@ export default {
return {
activeIndex: '1'
}
},
created() {
this.$router.push('/todo')
}
}
</script>