zhengnaiwen_citu 5 місяців тому
батько
коміт
ed4eb19a2f
2 змінених файлів з 9 додано та 5 видалено
  1. 7 3
      src/layout/index.vue
  2. 2 2
      src/views/system/update/index.vue

+ 7 - 3
src/layout/index.vue

@@ -58,16 +58,20 @@ export default {
       dynamicWidth: 250,
       dropdownItems: [
         {
-          name: '版本信息',
+          name: '系统更新',
           icon: 'el-icon-info',
           divided: false,
-          handle: this.handleVersion
+          handle: () => {
+            this.$router.push('/update')
+          }
         },
         {
           name: '修改密码',
           icon: 'el-icon-lock',
           divided: false,
-          handle: this.handlePassword
+          handle: () => {
+            this.$router.push('/system/safety')
+          }
         },
         {
           name: '退出登录',

+ 2 - 2
src/views/system/update/index.vue

@@ -11,8 +11,8 @@
     >
       <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-item index="/update/history">历史更新</el-menu-item>
+      <el-menu-item index="/update/monitor">程序监控</el-menu-item> -->
     </el-menu>
     <div class="app-container">
       <router-view  />