From a7974ab3e02aff12dd974418dd6dff39130fe490 Mon Sep 17 00:00:00 2001 From: wesley <470822125@qq.com> Date: Tue, 25 Oct 2022 18:38:55 +0800 Subject: [PATCH] 111 --- src/common/config.js | 2 +- src/utils/routerList.js | 10 +++++----- src/views/AnswerResult/detail.vue | 2 +- src/views/TestPaper/ManualTestPaper.vue | 157 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------- src/views/TestPaper/TestPaperList.vue | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------- src/views/login/index.vue | 8 ++++---- src/views/user/userlist.vue | 3 ++- 7 files changed, 212 insertions(+), 78 deletions(-) diff --git a/src/common/config.js b/src/common/config.js index 0550ece..94ccb42 100644 --- a/src/common/config.js +++ b/src/common/config.js @@ -1,4 +1,4 @@ -let BASE_URL = 'https://inteview.t1j2.com' +let BASE_URL = 'http://admin.7-stars.com.cn' export { diff --git a/src/utils/routerList.js b/src/utils/routerList.js index 2379523..375dc68 100644 --- a/src/utils/routerList.js +++ b/src/utils/routerList.js @@ -13,7 +13,7 @@ export function getRoutes(permissions) { // roles = roles.data.map(o=>o.code); let constantRoutes1 = [] - if (userInfo.UserId == 1 || 1 == 1) { + if (true) { constantRoutes1 = [{ path: '/login', component: () => @@ -38,12 +38,12 @@ export function getRoutes(permissions) { { - code:'home', - path: '/', + // code:'home', + path: '', component: Layout, redirect: '/dashboard', children: [{ - path: 'dashboard', + path: '/dashboard', name: '首页', component: () => import('@/views/dashboard/index'), @@ -52,7 +52,7 @@ export function getRoutes(permissions) { icon: 'dashboard' } }, { - path: 'live', + path: '/live', name: '直播观看', component: () => import('@/views/live/index'), diff --git a/src/views/AnswerResult/detail.vue b/src/views/AnswerResult/detail.vue index e8997ec..6c5f70b 100644 --- a/src/views/AnswerResult/detail.vue +++ b/src/views/AnswerResult/detail.vue @@ -19,7 +19,7 @@ }} 【{{ item.subjectName }}】{{ item.subject }} -
{{item.option}}:{{item.optionContent}}