Skip to content

Commit

Permalink
fix(lookuppanel): fix teacher title text
Browse files Browse the repository at this point in the history
  • Loading branch information
ZKLlab committed Jan 11, 2022
1 parent 0ae46c9 commit 350951e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/m/components/LookupPanel/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
<a-badge :count="`${course.credit}学分`" class="credit-badge" />
</h3>
<h4>{{ course['teacher_name'] }}
<small>{{
<small>({{
$store.getters.extra(`${course['course_id']}-${course['teacher_id']}`).teacher_title
? $store.getters.extra(`${course['course_id']}-${course['teacher_id']}`) + ', '
? $store.getters.extra(`${course['course_id']}-${course['teacher_id']}`).teacher_title + ', '
: ''
}}{{ course['teacher_id'] }})</small>
</h4>
Expand Down

0 comments on commit 350951e

Please sign in to comment.