Commit 05a68139 by 张立顺

fix bug

1 parent 31eadf03
......@@ -150,7 +150,7 @@
<img class="phone_icon" src="../image/call-icon.png" />
</a>
</div>
<div class="value" v-else-if="infoItem.label === '需求描述' || infoItem.label === '拒绝理由'" v-html="recruitment[infoItem.field] || '-'"></div>
<div class="value" v-else-if="infoItem.label === '需求描述' || infoItem.label === '拒绝理由'" v-html="(recruitment[infoItem.field] || '-').replace(/(\r?\n|↵|\\n)/g, '<br>')"></div>
<span class="value" v-else>{{ recruitment[infoItem.field] || '-' }}</span>
</div>
</div>
......
......@@ -57,7 +57,7 @@
<div class="info-item">
<span class="label">需求描述</span>
<div class="value" v-html="detail.requirementDescription"></div>
<div class="value" v-html="(detail.requirementDescription || '').replace(/(\r?\n|↵|\\n)/g, '<br>')"></div>
</div>
<div class="info-item">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!