'tab', 'items' => [ ['value' => 'region', 'url' => 'system/region/index', 'name' => '城市档案'], ] ]; public function scopeDialog($q, $value) { return $q->whereIn('id', $value)->pluck('name', 'id'); } }