* admin: update app menu after toggle switch of modules.

This commit is contained in:
liugang
2023-08-22 13:18:33 +08:00
parent d36a5ff48b
commit 27f068d382
+1 -1
View File
@@ -283,7 +283,7 @@ class admin extends control
$this->setting->setItem('system.common.global.scoreStatus', $this->post->module['myScore']);
$this->setting->setItem('system.custom.URAndSR', $this->post->module['productUR']);
$this->loadModel('custom')->processMeasrecordCron();
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'callback' => 'window.top.reload()'));
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'callback' => '$.apps.updateAppMenu'));
}
$this->view->title = $this->lang->admin->setModuleIndex;
$this->view->closedFeatures = $this->loadModel('setting')->getItem('owner=system&module=common&section=&key=closedFeatures');