* [bug] fix bugs.

This commit is contained in:
sunguangming
2024-07-06 16:59:04 +08:00
committed by 王怡栋
parent d1cd51871c
commit 7c36ee7a00
4 changed files with 5 additions and 4 deletions
+1
View File
@@ -421,6 +421,7 @@ class custom extends control
$this->custom->disableFeaturesByMode($mode);
if($mode == 'light') $this->custom->processProjectAcl();
if($mode == 'ALM') $this->loadModel('setting')->setItem('system.common.closedFeatures', 'otherOA');
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));
return $this->sendSuccess(array('callback' => '$.apps.updateAppsMenu(true);', 'load' => true, 'closeModel' => true));