正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -253,6 +253,9 @@ class BTemplateLogic extends BaseLogic | @@ -253,6 +253,9 @@ class BTemplateLogic extends BaseLogic | ||
| 253 | 'template_id' => $template_id, | 253 | 'template_id' => $template_id, |
| 254 | 'project_id' => $this->user['project_id'] | 254 | 'project_id' => $this->user['project_id'] |
| 255 | ]; | 255 | ]; |
| 256 | + if($template_id == 0){ | ||
| 257 | + $is_head = BTemplate::IS_HEADER; | ||
| 258 | + } | ||
| 256 | if($is_head != BTemplate::IS_NO_HEADER) { | 259 | if($is_head != BTemplate::IS_NO_HEADER) { |
| 257 | //查看页面是否设置自定义头部底部 | 260 | //查看页面是否设置自定义头部底部 |
| 258 | $pageSettingModel = new PageSetting(); | 261 | $pageSettingModel = new PageSetting(); |
-
请 注册 或 登录 后发表评论