* Refactor edit api lib.

This commit is contained in:
tianshujie
2023-07-18 16:44:13 +08:00
parent 8e680c9eb9
commit fe1f29d1c1
3 changed files with 104 additions and 2 deletions
+1 -1
View File
@@ -512,7 +512,7 @@ class api extends control
if(dao::isError()) return $this->sendError(dao::getError());
return $this->sendSuccess(array('message' => $this->lang->saveSuccess, 'closeModal' => true, 'callback' => "redirectParentWindow($id)"));
return $this->sendSuccess(array('message' => $this->lang->saveSuccess, 'closeModal' => true, 'load' => true));
}
$lib = $this->doc->getLibById($id);