Commit e02fe58b2ea5db4daf395a372bace431c64adc1b

Authored by 徐烜
2 parents 36499671 afcf88af

Merge branch 'saveupdate2' into qingpu

src/main/resources/static/pages/scheduleApp/module/core/employeeConfig/employeeConfig.js
@@ -214,7 +214,7 @@ angular.module('ScheduleApp').controller('EmployeeConfigFormCtrl', ['EmployeeCon @@ -214,7 +214,7 @@ angular.module('ScheduleApp').controller('EmployeeConfigFormCtrl', ['EmployeeCon
214 console.log(self.employeeConfigForSave); 214 console.log(self.employeeConfigForSave);
215 215
216 // 如果自对象没id值,设置成null 216 // 如果自对象没id值,设置成null
217 - if (!self.employeeConfigForSave.spy.id) { 217 + if (self.employeeConfigForSave.spy && !self.employeeConfigForSave.spy.id) {
218 self.employeeConfigForSave.spy = null; 218 self.employeeConfigForSave.spy = null;
219 } 219 }
220 220