瀏覽代碼

route name update

hare8999@163.com 1 年之前
父節點
當前提交
2cc94604d9
共有 1 個文件被更改,包括 1 次插入1 次删除
  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>