*An error has been reported on other pages.

This commit is contained in:
孙华伟
2022-04-14 10:32:28 +08:00
parent 93beba2f03
commit d5f6c531d9
4 changed files with 18 additions and 10 deletions
+14
View File
@@ -1644,6 +1644,7 @@ class treeModel extends model
$data->short = $short;
$data->order = $order;
$this->setModuleLang();
$this->dao->update(TABLE_MODULE)->data($data)->autoCheck()->where('id')->eq($moduleID)->limit(1)->exec();
}
}
@@ -2040,4 +2041,17 @@ class treeModel extends model
return $tree;
}
/**
* Load module language.
*
* @access public
* @return void
*/
public function setModuleLang()
{
$this->lang->module = new stdclass();
$this->lang->module->name = $this->lang->tree->wordName;
$this->lang->module->short = $this->lang->tree->short;
}
}