自定义表单功能

This commit is contained in:
2017-07-11 21:59:44 +08:00
parent 227705f560
commit 296ab0d7bc
6 changed files with 194 additions and 26 deletions

View File

@@ -17,7 +17,7 @@ class FormAttr extends Base{
protected $type = array(
'id' => 'integer',
);
protected static function init(){
self::afterInsert(function($data){
if ($data['form_id']) {