* Modify feature bar get.

This commit is contained in:
caoyanyi
2023-02-21 11:00:50 +08:00
parent 35569ad22c
commit 86aa7086c4
2 changed files with 11 additions and 6 deletions
-1
View File
@@ -95,7 +95,6 @@ class dev extends control
public function langItem($type = 'common', $module = 'my', $method = '', $language = 'zh_cn')
{
$language = str_replace('_', '-', $language);
if($type == 'second' and empty($module)) $module = 'my';
$moduleName = $module;
if($type == 'common' or $type == 'first') $moduleName = 'common';
if($type == 'second') $moduleName = $module . 'Menu';