修复单页模型前端显示bug
This commit is contained in:
@@ -169,7 +169,7 @@ class Content extends Fornt {
|
|||||||
} else {
|
} else {
|
||||||
$this->modelInfo = $model_name ? $name_list[$model_name] : $id_list[$model_id];
|
$this->modelInfo = $model_name ? $name_list[$model_name] : $id_list[$model_id];
|
||||||
if ($this->modelInfo['extend'] > 1) {
|
if ($this->modelInfo['extend'] > 1) {
|
||||||
$this->model = model($this->modelInfo['name']);
|
$this->model = model('Content')->extend($this->modelInfo['name']);
|
||||||
} else {
|
} else {
|
||||||
$this->model = model('Document')->extend($this->modelInfo['name']);
|
$this->model = model('Document')->extend($this->modelInfo['name']);
|
||||||
}
|
}
|
||||||
|
|||||||
1
application/index/view/content/page/detail.html
Normal file
1
application/index/view/content/page/detail.html
Normal file
@@ -0,0 +1 @@
|
|||||||
|
的点点滴滴
|
||||||
Reference in New Issue
Block a user