fix: vue script ts error

This commit is contained in:
2022-07-08 21:47:13 +09:00
parent be882000ad
commit eb36b6a52f
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -117,7 +117,7 @@
<div>부대</div>
<div v-if="!troopInfo" class="general-troop">-</div>
<div v-else class="general-troop">
<s v-if="troopInfo.leader.reservedCommand[0]?.action != 'che_집합'" style="color: gray">
<s v-if="troopInfo.leader.reservedCommand && troopInfo.leader.reservedCommand[0].action != 'che_집합'" style="color: gray">
{{ troopInfo.name }}
</s>
<span v-else style="color: orange">