Skip to content

Commit

Permalink
fix:修复新增版主页面不显示用户的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuchunshu committed Aug 22, 2023
1 parent 3015663 commit d0864e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<label class="form-label required">选择用户</label>
<select type="text" class="form-select" placeholder="Select a user" name="user_id" id="select-people" required>
<option value="0">请选择</option>
@foreach(App\Plugins\User\src\Models\User::all(['id','avatar','email','username']) as $user)
@foreach(App\Plugins\User\src\Models\User::all(['id','class_id','avatar','email','username']) as $user)
<option value="{{$user->id}}" data-custom-properties="&lt;span class=&quot;avatar avatar-xs&quot; style=&quot;background-image: url({{avatar($user)}})&quot;&gt;&lt;/span&gt;">
{{$user->username}}</option>
@endforeach
Expand Down

0 comments on commit d0864e1

Please sign in to comment.