* Modify lite menu.

This commit is contained in:
caoyanyi
2023-02-23 13:55:37 +08:00
parent 0d847aaccc
commit e38e141d03
8 changed files with 54 additions and 36 deletions

View File

@@ -105,7 +105,16 @@ class dev extends control
if($type == 'third')
{
if(empty($method)) $method = 'work';
if($this->config->vision == 'lite')
{
$module = $module == '' ? 'kanbanProject' : $module;
$method = $method == '' ? 'settings' : $method;
}
elseif(empty($method))
{
$module = 'my';
$method = 'work';
}
$moduleName = $module . 'SubMenu';
}