@@ -1,6 +1,8 @@
<template>
<div id="app">
- <router-view />
+ <keep-alive :include="['Home', 'ExamPaperPendingTrial']">
+ <router-view />
+ </keep-alive>
<!-- check pwd -->
<el-dialog
@@ -1394,7 +1394,7 @@
}
.question-info-label {
float: left;
- width: 50px;
+ width: 60px;
padding-right: 10px;
text-align: right;
font-weight: 600;
@@ -146,6 +146,7 @@ export const menuRoutes = [
{
path: "exam_paper_pending_trial/:isClear", //题库待审列表
component: ExamPaperPendingTrial,
+ name: "ExamPaperPendingTrial",
},
path: "paper-recycle", //卷库回收站
@@ -40,6 +40,7 @@ let router = new Router({
path: "/home", //首页
meta: { auth: false },
+ name: "Home",
component: Home,
children: [
...qmenuRoutes,