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