Browse Source

route name update

hare8999@163.com 1 year ago
parent
commit
2cc94604d9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/system/user/profile/components/select-subject.vue

+ 1 - 1
src/views/system/user/profile/components/select-subject.vue

@@ -30,7 +30,7 @@
           <div class="fx-row fx-bet-cen">
             您的测评推荐专业:
             <div>
-              <el-button type="primary" @click="$router.push('/elective/test/index')">查看报告</el-button>
+              <el-button type="primary" @click="$router.push({name: 'ElectiveTestIndex'})">查看报告</el-button>
               <el-button @click="toMatch(matchTypes.electiveTest)">整体匹配</el-button>
             </div>
           </div>