去掉最后一个顿号

This commit is contained in:
shijingjing
2022-08-22 14:05:51 +08:00
parent 3c417c32ae
commit 24c29a7aa5
2 changed files with 6 additions and 3 deletions

View File

@@ -14,7 +14,10 @@
<div class="item" v-if="data.enableExamine == 1">
<span>审批人</span>
<span>
<span v-for="(item, index) in approver" :key="index" style="color: #333;">{{ item.examineUserName + '' }}</span>
<span v-for="(item, index) in approver" :key="index" style="color: #333;">
{{ item.examineUserName }}
<span v-show="index < approver.length - 1"></span>
</span>
</span>
</div>
<div class="item">