mirror of https://github.com/veops/cmdb.git
add yarn.lock
This commit is contained in:
parent
60814cea2f
commit
b2b355b0dd
|
@ -72,5 +72,4 @@ cmdb-ui/dist
|
|||
cmdb-ui/npm-debug.log*
|
||||
cmdb-ui/yarn-debug.log*
|
||||
cmdb-ui/yarn-error.log*
|
||||
cmdb-ui/yarn.lock
|
||||
cmdb-ui/package-lock.json
|
||||
|
|
|
@ -349,7 +349,7 @@ export default {
|
|||
that.loadTip = '正在批量修改 ...'
|
||||
const payload = {}
|
||||
Object.keys(values).forEach(key => {
|
||||
if (values[key]) {
|
||||
if (values[key] || values[key] === 0) {
|
||||
payload[key] = values[key]
|
||||
}
|
||||
})
|
||||
|
|
|
@ -40,7 +40,7 @@ export default {
|
|||
joinList: function (itemValue) {
|
||||
if (typeof itemValue === 'object' && itemValue) {
|
||||
return itemValue.join(',')
|
||||
} else if (itemValue !== null) {
|
||||
} else if (itemValue !== null && itemValue !== 'undefined') {
|
||||
return itemValue + ''
|
||||
} else {
|
||||
return ''
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue