[fix] update attribute which is list

This commit is contained in:
pycook
2019-12-11 18:12:10 +08:00
parent a71ba83de0
commit 8341e742eb
2 changed files with 31 additions and 26 deletions

View File

@@ -40,8 +40,10 @@ export default {
joinList: function (itemValue) {
if (typeof itemValue === 'object' && itemValue) {
return itemValue.join(',')
} else if (itemValue !== null) {
return itemValue + ''
} else {
return itemValue || ' '
return ''
}
}
}