mirror of
https://github.com/veops/cmdb.git
synced 2025-08-10 23:19:33 +08:00
[fix] update attribute which is list
This commit is contained in:
@@ -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 ''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user