Rmengdi преди 1 година
родител
ревизия
9bec879208
променени са 2 файла, в които са добавени 5 реда и са изтрити 4 реда
  1. 4 3
      pdaaphm-ui/src/router/index.js
  2. 1 1
      pdaaphm-ui/src/views/algoManager/algorithm/algoRun.vue

+ 4 - 3
pdaaphm-ui/src/router/index.js

@@ -119,13 +119,14 @@ export const constantRoutes = [
   {
     path: '/dataManage',
     component: Layout,
+    hidden: true,
     redirect: 'noredirect',
     children: [
       {
-        path: 'contrast/:nonIdealID',
+        path: 'contrast',
         component: () => import('@/views/dataManage/contrast'),
-        name: 'Contrast',
-        meta: { title: '数据对比', icon: 'user' }
+        name: 'contrast',
+        meta: { title: '数据对比' }
       }
     ]
   }

+ 1 - 1
pdaaphm-ui/src/views/algoManager/algorithm/algoRun.vue

@@ -105,7 +105,7 @@ export default {
     // 查看数据对比结果
     checkContrast(id){
       this.$router.push({
-        name: 'Contrast',
+        name: 'contrast',
         params: {
           nonIdealID: id,
         },