Skip to content

Commit

Permalink
fix:声望
Browse files Browse the repository at this point in the history
  • Loading branch information
fifthThirteen committed Mar 12, 2024
1 parent 5f80f58 commit f4ab7d8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/views/reputation/Single.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</div>
<div class="detail-wrap" v-if="reputation.servant">
<div class="sub-title sub-name">
{{ reputation.servant.szNpcName }}
{{ reputation.servant && reputation.servant.szNpcName }}
</div>
<div class="u-desc" v-html="reputation.servant.szDescBrief"></div>
<div class="u-desc" v-html="reputation.servant.szDescPersonality.replace(/\\n/g, '<br>')"></div>
Expand All @@ -75,7 +75,13 @@
</div>
<div
class="map-wrapper"
v-if="reputation.szMapNames && reputation.szMapNames.length && !reputation.hiddenMap"
v-if="
reputation.szMapNames &&
reputation.szMapNames.length &&
reputation.Guides &&
reputation.Guides.length &&
!reputation.hiddenMap
"
>
<div class="title">
声望商人
Expand Down

0 comments on commit f4ab7d8

Please sign in to comment.