Ver Fonte

fix: 课程列表课程名称出错问题

ChenYangfan há 6 anos atrás
pai
commit
3ff2764c40

+ 1 - 1
src/views/student/components/StudentCourseSlides.vue

@@ -1,6 +1,6 @@
 <template>
   <tab-side-component>
-    <back-title>{{'软件工程与计算 I'}}</back-title>
+    <back-title>{{course.name}}</back-title>
     <div class="sub-title">课件列表</div>
     <div class="no-content-warning" v-if="slides === null">
       <div class="no-content-warning-tip">加载中...</div>

+ 1 - 1
src/views/teacher/components/TeacherCourseSlides.vue

@@ -1,6 +1,6 @@
 <template>
   <tab-side-component>
-    <back-title>{{'软件工程与计算 I'}}</back-title>
+    <back-title>{{course.name}}</back-title>
     <div class="sub-title">课件列表</div>
     <div class="no-content-warning" v-if="slides === null">
       <div class="no-content-warning-tip">加载中...</div>