作者 lyh

gx

@@ -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();