正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -573,7 +573,7 @@ class BTemplateLogic extends BaseLogic | @@ -573,7 +573,7 @@ class BTemplateLogic extends BaseLogic | ||
| 573 | $bTemplateMainModel = new BTemplateMain(); | 573 | $bTemplateMainModel = new BTemplateMain(); |
| 574 | $mainInfo = $bTemplateMainModel->read(['project_id'=>$this->user['project_id'],'type'=>$this->param['type']]); | 574 | $mainInfo = $bTemplateMainModel->read(['project_id'=>$this->user['project_id'],'type'=>$this->param['type']]); |
| 575 | if($mainInfo === false){ | 575 | if($mainInfo === false){ |
| 576 | - $main_html = "<main>{$this->getModule($type)}</main>"; | 576 | + $main_html = "<main>{$this->getModule($this->param['type'])}</main>"; |
| 577 | $main_style = "<style id='globalsojs-styles'></style>"; | 577 | $main_style = "<style id='globalsojs-styles'></style>"; |
| 578 | }else{ | 578 | }else{ |
| 579 | $main_html = $mainInfo['main_html']; | 579 | $main_html = $mainInfo['main_html']; |
-
请 注册 或 登录 后发表评论