修改参数项管理认证类别显示不全问题

This commit is contained in:
zyx.net
2022-06-30 19:10:14 +08:00
parent a13aa6999e
commit 36bbf0c0fa
2 changed files with 26 additions and 6 deletions
@@ -2,7 +2,7 @@
<a-checkbox-group v-if="tagType=='checkbox'" @change="onChange" :value="arrayValue" :disabled="disabled">
<a-checkbox v-for="(item, key) in dictOptions" :key="key" :value="item.value">
<span :title='item.text||item.label'>
{{ (item.text && item.text.length > 6 ? item.text.slice(0, 5) + '...' : item.text) || (item.label && item.label.length > 6 ? item.label.slice(0, 5) + '...' : item.label) }}
{{ (item.text && item.text.length > 6 ? item.text.slice(0, 14) + '...' : item.text) || (item.label && item.label.length > 6 ? item.label.slice(0, 14) + '...' : item.label) }}
</span>
</a-checkbox>
</a-checkbox-group>