task edit bug

This commit is contained in:
刘河 2019-02-18 12:40:56 +08:00
parent dab51c32a2
commit 6fe69bc6b1
1 changed files with 0 additions and 1 deletions

View File

@ -127,7 +127,6 @@ func (s *IndexController) Edit() {
t.Mode = s.GetString("type")
t.Target = s.GetString("target")
t.Id = id
t.Client.Id = s.GetIntNoErr("client_id")
t.Remark = s.GetString("remark")
if t.Client, err = file.GetCsvDb().GetClient(s.GetIntNoErr("client_id")); err != nil {
s.AjaxErr("修改失败")