This commit is contained in:
2017-06-27 12:02:11 +08:00
parent c3ceff72fc
commit ee45e010e0
3 changed files with 3 additions and 19 deletions

View File

@@ -164,7 +164,7 @@ class Content extends Fornt {
return $this->error("无此模型!");
} else {
$this->modelInfo = $model_name ? $name_list[$model_name] : $id_list[$model_id];
$this->model = new M($this->modelInfo['name']);
$this->model = M($this->modelInfo['name']);
$this->assign('model_id', $this->modelInfo['id']);
$this->assign('model_list', $name_list);