修改禅道bug

This commit is contained in:
zyx.net
2022-07-01 10:51:52 +08:00
parent c7aa206416
commit daa0e9e65a
4 changed files with 13 additions and 4 deletions
@@ -2,7 +2,8 @@
<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, 14) + '...' : item.text) || (item.label && item.label.length > 6 ? item.label.slice(0, 14) + '...' : item.label) }}
<!-- {{ (item.text && item.text.length > 6 ? item.text.slice(0, 20) + '...' : item.text) || (item.label && item.label.length > 6 ? item.label.slice(0, 10) + '...' : item.label) }}-->
{{ item.text || item.label}}
</span>
</a-checkbox>
</a-checkbox-group>