* [refac] Adjust dropmenu link for stage.

This commit is contained in:
wangyidong
2024-09-12 17:10:52 +08:00
committed by 孙广明
parent 08f7e00077
commit a1dfe0ffe4
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -1423,7 +1423,7 @@ class programModel extends model
* @access public
* @return void
*/
public function setMenu($programID)
public function setMenu(int $programID)
{
$this->lang->switcherMenu = $this->getSwitcher($programID);
common::setMenuVars('program', $programID);
@@ -1436,7 +1436,7 @@ class programModel extends model
* @access private
* @return string
*/
public function getSwitcher($programID = 0)
public function getSwitcher(int $programID = 0)
{
$currentProgramName = '';
$currentModule = $this->app->moduleName;