Commit 7ca07afc by 杨明

fixed

1 parent e2d4fb1b
......@@ -7,7 +7,7 @@
<el-form label-width="100px" :inline="true">
<el-row v-for="(item, index) in detailFormDataRow" :key="index">
<el-form-item v-for="(subItem, subIndex) in item.rowList" :key="subIndex" :label="subItem.label" class="row-item">
<div v-if="subItem.type == 'img'" class="order-img">
<div v-if="subItem.type == 'img' && detailForm[subItem.name]" class="order-img">
<img :src="itm" alt="" v-for="(itm, idx) in formarArr(detailForm[subItem.name])" :key="idx" />
</div>
<span v-else class="detail-txt ellipsis-1" :title="detailForm[subItem.name]">{{ detailForm[subItem.name] ? detailForm[subItem.name] + (subItem.suffix || '') : subItem.format ? subItem.format(detailForm) : '-' }}</span>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!