🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
取的下拉表 多选框表单字段设置数数组.fieldoption($fields['status']) 取的下拉表单.{ :Form::select(array('field'=>'status','options'=>fieldoption($fields['status'])),$status)} 取默认表单:{ $fields['status']|getform=new Form(),###} 以上$fields都是当前模型的字段数据. 以后会提供在调用不同模型之间的字段数据.