Commit e6dbd92e by 胡悦

Merge branch 'master' of 192.168.3.233:glsx-web/glsx-oss-account

2 parents c401b28c 94f9ba7a
......@@ -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!