刘洋 1 年間 前
コミット
507c87a196

+ 3 - 1
src/App.vue

@@ -1,6 +1,8 @@
 <template>
   <div id="app">
-    <router-view />
+    <keep-alive :include="['Home', 'ExamPaperPendingTrial']">
+      <router-view />
+    </keep-alive>
 
     <!-- check pwd -->
     <el-dialog

+ 1 - 1
src/assets/styles/pages.scss

@@ -1394,7 +1394,7 @@
   }
   .question-info-label {
     float: left;
-    width: 50px;
+    width: 60px;
     padding-right: 10px;
     text-align: right;
     font-weight: 600;

+ 1 - 0
src/modules/questions/routes/routes.js

@@ -146,6 +146,7 @@ export const menuRoutes = [
       {
         path: "exam_paper_pending_trial/:isClear", //题库待审列表
         component: ExamPaperPendingTrial,
+        name: "ExamPaperPendingTrial",
       },
       {
         path: "paper-recycle", //卷库回收站

+ 1 - 0
src/router/index.js

@@ -40,6 +40,7 @@ let router = new Router({
     {
       path: "/home", //首页
       meta: { auth: false },
+      name: "Home",
       component: Home,
       children: [
         ...qmenuRoutes,