摘要: activeForm设置默认值 input: <?= $form->field($model,'code')->label('国别码')->input('text',['value'=>'ceshi']); ?> CheckBox: 先在控制器中设置 $model->type = 1 再在视图中<? 阅读全文
posted @ 2018-07-31 21:11 坚持!! 阅读(2189) 评论(0) 推荐(0) 编辑