* adjust for change block.

This commit is contained in:
wangyidong
2019-04-08 15:20:53 +08:00
parent 289fc113b4
commit b554bea1d3
+11
View File
@@ -38,6 +38,17 @@ class blockModel extends model
->remove('uid,actionLink,modules,moduleBlock')
->get();
if($this->post->moduleBlock)
{
$data->source = $this->post->modules;
$data->block = $this->post->moduleBlock;
}
else
{
$data->source = '';
$data->block = $this->post->modules;
}
if($block) $data->height = $block->height;
if($type == 'html')
{