auth()->user()->projects()->pluck('name', 'id'); id=>name 转载于:https://www.cnblogs.com/hakeer/p/11223169.html