* [bug#55950,done,0.5h] fix space form item of import doc.

This commit is contained in:
zhouxin
2024-10-16 08:39:39 +08:00
committed by sunhao
parent b229134d9e
commit cba4c8e4bb
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -63,7 +63,6 @@ formPanel
set::items($spaces),
set::value($objectID),
on::change('loadObjectModules'),
set::disabled($objectType == 'mine'),
set::required(true)
) : null,
formGroup
+1 -1
View File
@@ -563,7 +563,7 @@ class docZen extends doc
$this->view->title = empty($lib) ? '' : zget($lib, 'name', '', $lib->name . $this->lang->hyphen) . $this->lang->doc->uploadDoc;
$this->view->linkType = $objectType;
$this->view->spaces = $this->getAllSpaces($objectType == 'custom' ? 'nomine' : 'onlymine');
$this->view->spaces = ($objectType == 'mine' || $objectType == 'custom') ? $this->doc->getSubSpacesByType($objectType) : array();
}
/**