修复单页模型前端显示bug

This commit is contained in:
2016-11-21 17:21:42 +08:00
parent 4d2833421a
commit a91d44e096
2 changed files with 2 additions and 1 deletions

View File

@@ -169,7 +169,7 @@ class Content extends Fornt {
} else {
$this->modelInfo = $model_name ? $name_list[$model_name] : $id_list[$model_id];
if ($this->modelInfo['extend'] > 1) {
$this->model = model($this->modelInfo['name']);
$this->model = model('Content')->extend($this->modelInfo['name']);
} else {
$this->model = model('Document')->extend($this->modelInfo['name']);
}

View File

@@ -0,0 +1 @@
的点点滴滴