soleil 7 лет назад
Родитель
Сommit
01ae9faf86

+ 0 - 1
src/views/teacher/Code/detail.vue

@@ -223,7 +223,6 @@ export default {
   }
   }
 };
 };
 </script>
 </script>
-
 <style scoped>
 <style scoped>
 .breadcrumb a {
 .breadcrumb a {
   /*color: #7957d5;*/
   /*color: #7957d5;*/

+ 2 - 8
src/views/teacher/Question/index.vue

@@ -1,6 +1,6 @@
 <template>
 <template>
   <div>
   <div>
-    <page-header :routes="[{ name: `查看题目`, path: 'question' }]">
+    <page-header :routes="[{ name: `查看题目`, path: 'question/' }]">
       <template slot="title">
       <template slot="title">
         查看题目
         查看题目
       </template>
       </template>
@@ -44,13 +44,7 @@
         </div>
         </div>
         <!--题目table-->
         <!--题目table-->
         <div class="question-list">
         <div class="question-list">
-          <b-table
-            :data="data"
-            paginated
-            per-page="10"
-            detailed
-            detail-key="id"
-          >
+          <b-table :data="data" detailed detail-key="id">
             <template slot-scope="props">
             <template slot-scope="props">
               <b-table-column field="id" label="ID" width="40" numeric sortable>
               <b-table-column field="id" label="ID" width="40" numeric sortable>
                 {{ props.row.id }}
                 {{ props.row.id }}

+ 1 - 1
src/views/teacher/Question/questionDetail.vue

@@ -2,7 +2,7 @@
   <div>
   <div>
     <page-header
     <page-header
       :routes="[
       :routes="[
-        { name: '查看题目', path: 'question' },
+        { name: '查看题目', path: 'question/' },
         { name: `${questionName}`, path: `question/123` }
         { name: `${questionName}`, path: `question/123` }
       ]"
       ]"
     >
     >

+ 1 - 1
src/views/teacher/Result/index.vue

@@ -1,6 +1,6 @@
 <template>
 <template>
   <div>
   <div>
-    <page-header :routes="[{ name: '成绩管理', path: 'result' }]">
+    <page-header :routes="[{ name: '成绩管理', path: 'result/' }]">
       <template slot="title">
       <template slot="title">
         全部作业成绩
         全部作业成绩
       </template>
       </template>