提交 a2260850 编写于 作者: U unknown

老客列表数据无法显示修改

上级 1a990ef7
......@@ -127,7 +127,8 @@ export default {
},
// 获取显示用tag字符串
getDisplayTags(row) {
const tags = row.tagList.map((t) => t.name)
if (!(row && row.length > 0)) return ''
const tags = row.tagList.map((t) => t && t.name ? t.name : '')
return tags.join(' ')
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册