Commit 30b268fe by unknown

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

1 parent e2ace889
...@@ -127,7 +127,8 @@ export default { ...@@ -127,7 +127,8 @@ export default {
}, },
// 获取显示用tag字符串 // 获取显示用tag字符串
getDisplayTags(row) { 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(' ') return tags.join(' ')
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!