优化后台UI

This commit is contained in:
2020-04-07 21:42:06 +08:00
parent 0bb97cd9a9
commit f8c58b15cd
81 changed files with 180 additions and 27402 deletions
+4 -6
View File
@@ -211,14 +211,12 @@ class Form extends Base {
return $this->error($this->Fattr->getError());
}
}else{
$info = $this->Fattr->where('id', $id)->find();
$data = array(
$info = FormAttr::find($id);
$this->data = array(
'info' => $info,
'keyList' => $this->field
'keyList' => $this->getField()
);
$this->assign($data);
$this->setMeta('添加字段');
return $this->fetch('public/edit');
return $this->fetch('admin/public/edit');
}
}