array ( 'field' => array ( 'platform_id' => array ( 'rules' => true, 'type' => 'select', 'remote' => 'api/manage.getApi', # 无需默认值 'remote_default' => false, ), 'api_id' => array ( 'rules' => true, 'type' => 'select', 'placeholder' => '选择接口', ), /* 'status' => array ( 'width' => '40', 'type' => 'switch', 'show' => '{status}', 'active_value' => 1, 'inactive_value' => 2, ),*/ ), 'drag' => 'sort', ), );