Ver código fonte

task edit bug

刘河 6 anos atrás
pai
commit
6fe69bc6b1
1 arquivos alterados com 0 adições e 1 exclusões
  1. 0 1
      web/controllers/index.go

+ 0 - 1
web/controllers/index.go

@@ -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("修改失败")