|
...
|
...
|
@@ -573,7 +573,7 @@ class BTemplateLogic extends BaseLogic |
|
|
|
$bTemplateMainModel = new BTemplateMain();
|
|
|
|
$mainInfo = $bTemplateMainModel->read(['project_id'=>$this->user['project_id'],'type'=>$this->param['type']]);
|
|
|
|
if($mainInfo === false){
|
|
|
|
$main_html = "<main>{$this->getModule($type)}</main>";
|
|
|
|
$main_html = "<main>{$this->getModule($this->param['type'])}</main>";
|
|
|
|
$main_style = "<style id='globalsojs-styles'></style>";
|
|
|
|
}else{
|
|
|
|
$main_html = $mainInfo['main_html'];
|
...
|
...
|
|