mirror of https://github.com/qwqdanchun/nps.git
task edit bug
This commit is contained in:
parent
dab51c32a2
commit
6fe69bc6b1
|
@ -127,7 +127,6 @@ func (s *IndexController) Edit() {
|
||||||
t.Mode = s.GetString("type")
|
t.Mode = s.GetString("type")
|
||||||
t.Target = s.GetString("target")
|
t.Target = s.GetString("target")
|
||||||
t.Id = id
|
t.Id = id
|
||||||
t.Client.Id = s.GetIntNoErr("client_id")
|
|
||||||
t.Remark = s.GetString("remark")
|
t.Remark = s.GetString("remark")
|
||||||
if t.Client, err = file.GetCsvDb().GetClient(s.GetIntNoErr("client_id")); err != nil {
|
if t.Client, err = file.GetCsvDb().GetClient(s.GetIntNoErr("client_id")); err != nil {
|
||||||
s.AjaxErr("修改失败")
|
s.AjaxErr("修改失败")
|
||||||
|
|
Loading…
Reference in New Issue