Merge branch dev/bug-67303 of zentao/zentaopms (#12435)

This commit is contained in:
刘刚
2025-11-20 13:08:03 +08:00
committed by Gitfox
+4
View File
@@ -42,6 +42,8 @@ class doc extends control
public function lastViewedSpaceHome()
{
$lastViewedSpaceHome = $this->doc->getLastViewed('lastViewedSpaceHome');
if($this->config->vision == 'lite' && $lastViewedSpaceHome == 'api') $lastViewedSpaceHome = 'mine';
if($lastViewedSpaceHome === 'api') return $this->locate($this->createLink('api', 'index'));
$spaceMap = array(
@@ -66,6 +68,8 @@ class doc extends control
public function lastViewedSpace()
{
$lastViewedSpaceHome = $this->doc->getLastViewed('lastViewedSpaceHome');
if($this->config->vision == 'lite' && $lastViewedSpaceHome == 'api') $lastViewedSpaceHome = 'mine';
if($lastViewedSpaceHome === 'api') return $this->locate($this->createLink('api', 'index'));
$spaceMap = array(