refactor(richedit): 修改标签显示逻辑为仅展示第一个标签
This commit is contained in:
parent
4dc81fdac3
commit
06c8c29bb7
|
|
@ -205,7 +205,7 @@
|
|||
</div>
|
||||
|
||||
<div class="labels">
|
||||
<div v-if="scope.row.conceptLabels && scope.row.conceptLabels.length > 0" class="label_item_box">
|
||||
<!-- <div v-if="scope.row.conceptLabels && scope.row.conceptLabels.length > 0" class="label_item_box">
|
||||
<div v-for="item in scope.row.conceptLabels" :key="item" class="label_item" style="background-color: #eee6cd">
|
||||
{{ item }}
|
||||
</div>
|
||||
|
|
@ -215,16 +215,14 @@
|
|||
<div v-for="item in scope.row.industryLabels" :key="item" class="label_item" style="background-color: #cfdcf3">
|
||||
{{ item }}
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<!-- <div style="background-color: #eee6cd" class="label_item"
|
||||
v-if="scope.row.conceptLabels && scope.row.conceptLabels.length > 0">
|
||||
<div style="background-color: #eee6cd" class="label_item" v-if="scope.row.conceptLabels && scope.row.conceptLabels.length > 0">
|
||||
{{ scope.row.conceptLabels[0] }}
|
||||
</div>
|
||||
<div style="background-color: #cfdcf3" class="label_item"
|
||||
v-if="scope.row.industryLabels && scope.row.industryLabels.length > 0">
|
||||
<div style="background-color: #cfdcf3" class="label_item" v-if="scope.row.industryLabels && scope.row.industryLabels.length > 0">
|
||||
{{ scope.row.industryLabels[0] }}
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -334,7 +334,7 @@
|
|||
</div>
|
||||
|
||||
<div class="labels" v-if="Session.get('userInfoLocal').userType == '00'">
|
||||
<div v-if="scope.row.conceptLabels && scope.row.conceptLabels.length > 0" class="label_item_box">
|
||||
<!-- <div v-if="scope.row.conceptLabels && scope.row.conceptLabels.length > 0" class="label_item_box">
|
||||
<div v-for="item in scope.row.conceptLabels" :key="item" class="label_item" style="background-color: #eee6cd">
|
||||
{{ item }}
|
||||
</div>
|
||||
|
|
@ -344,15 +344,14 @@
|
|||
<div v-for="item in scope.row.industryLabels" :key="item" class="label_item" style="background-color: #cfdcf3">
|
||||
{{ item }}
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<!-- <div style="background-color: #eee6cd" class="label_item"
|
||||
v-if="scope.row.conceptLabels && scope.row.conceptLabels.length > 0">
|
||||
<div style="background-color: #eee6cd" class="label_item" v-if="scope.row.conceptLabels && scope.row.conceptLabels.length > 0">
|
||||
{{ scope.row.conceptLabels[0] }}
|
||||
</div> -->
|
||||
<!-- <div style="background-color: #cfdcf3" class="label_item" v-if="scope.row.industryLabels && scope.row.industryLabels.length > 0">
|
||||
</div>
|
||||
<div style="background-color: #cfdcf3" class="label_item" v-if="scope.row.industryLabels && scope.row.industryLabels.length > 0">
|
||||
{{ scope.row.industryLabels[0] }}
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Reference in New Issue