* Modify the module tree on the left of the data dictionary.

This commit is contained in:
tianshujie
2023-03-10 16:54:01 +08:00
parent 2a728e1b87
commit 10e304792e
7 changed files with 54 additions and 36 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ class dev extends control
$this->view->tab = 'api';
$this->view->selectedModule = $module;
$this->view->apis = $module ? $this->dev->getAPIs($module) : array();
$this->view->moduleTree = $this->dev->getModuleTree($module);
$this->view->moduleTree = $this->dev->getTree($module, 'module');
$this->display();
}
@@ -45,7 +45,7 @@ class dev extends control
$this->view->position[] = html::a(inlink('api'), $this->lang->dev->common);
$this->view->position[] = $this->lang->dev->db;
$this->view->tables = $this->dev->getTables();
$this->view->tableTree = $this->dev->getTree($table, 'table');
$this->view->selectedTable = $table;
$this->view->tab = 'db';
$this->view->fields = $table ? $this->dev->getFields($table) : array();