Commit 94f9ba7a by cwq0219

bug修复

1 parent 0dc1cab8
......@@ -560,7 +560,7 @@ export default {
var apiName = this.editForm.id ? 'updateFunApi' : 'saveFunApi'
var params = _.cloneDeep(this.editForm)
if (this.editForm.id && this.editForm.newFunValue) {
params.functionValue = params.functionValue + ';' + this.editForm.newFunValue
params.functionValue = params.functionValue ? (params.functionValue + ';' + this.editForm.newFunValue) : this.editForm.newFunValue
}
params.ownedCusgroupValue && (params.ownedCusgroupValue = this.editForm.ownedCusgroupValue.join(','))
functionApi[apiName](params).then(res => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!