修复:后台编辑用户时弹窗里的数据为空(移除了不小心造成的 td x-data 孤立作用域)
This commit is contained in:
@@ -106,7 +106,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td class="p-4 text-sm font-mono text-gray-500">{{ $user->created_at->format('Y/m/d H:i') }}
|
<td class="p-4 text-sm font-mono text-gray-500">{{ $user->created_at->format('Y/m/d H:i') }}
|
||||||
</td>
|
</td>
|
||||||
<td class="p-4 text-right space-x-2 relative" x-data>
|
<td class="p-4 text-right space-x-2 relative">
|
||||||
<button
|
<button
|
||||||
@click="editingUser = {
|
@click="editingUser = {
|
||||||
id: {{ $user->id }},
|
id: {{ $user->id }},
|
||||||
|
|||||||
Reference in New Issue
Block a user