| 1234567891011121314151617181920212223242526272829303132333435363738 |
- <template>
- <div>
- <el-menu
- :default-active="$route.path"
- class="el-menu-demo"
- mode="horizontal"
- background-color="#001529"
- router
- text-color="#fff"
- active-text-color="#ffd04b"
- >
- <el-menu-item index="/">薪酬通</el-menu-item>
- <el-menu-item index="/update/system">系统更新</el-menu-item>
- <!-- <el-menu-item index="/update/history">历史更新</el-menu-item>
- <el-menu-item index="/update/monitor">程序监控</el-menu-item> -->
- </el-menu>
- <div class="app-container">
- <router-view />
- </div>
- </div>
- </template>
- <script>
- export default {
- name: 'system-update',
- methods: {
- handleSelect (key, keyPath) {
- console.log(key, keyPath)
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .app-container {
- height: calc(100vh - 61px);
- }
- </style>
|