* Refactor doc::selectLibType method.

This commit is contained in:
tianshujie
2023-12-06 08:56:21 +08:00
parent d9426c7e62
commit fb3e75cc62
+6 -5
View File
@@ -878,7 +878,8 @@ class doc extends control
}
/**
* Select lib type.
* 设置选择文档库类型的范围。
* Set the scope of the document library type to be selected.
*
* @access public
* @return void
@@ -916,10 +917,10 @@ class doc extends control
$products = $this->loadModel('product')->getPairs();
$projects = $this->project->getPairsByProgram(0, 'all', false, 'order_asc');
$this->view->spaceList = $spaceList;
$this->view->typeList = $typeList;
$this->view->products = $products;
$this->view->projects = $projects;
$this->view->spaceList = $spaceList;
$this->view->typeList = $typeList;
$this->view->products = $products;
$this->view->projects = $projects;
$this->display();
}