Demo:修复对象类型的标签数据在标签弹窗里回显错误的问题

This commit is contained in:
街角小林 2024-07-12 15:18:48 +08:00
parent 44a883c473
commit f819cbc5b1

View File

@ -24,7 +24,7 @@
backgroundColor: generateColorByContent(item) backgroundColor: generateColorByContent(item)
}" }"
> >
{{ item }} {{ typeof item === 'string' ? item : item.text }}
<div class="delBtn" @click="del(index)"> <div class="delBtn" @click="del(index)">
<span class="iconfont iconshanchu"></span> <span class="iconfont iconshanchu"></span>
</div> </div>