From b9a3ea2c448b6fe27f9064a0b8a6bbe79043e42d Mon Sep 17 00:00:00 2001 From: Wisp X <1591788658@qq.com> Date: Wed, 6 Apr 2022 08:19:51 +0800 Subject: [PATCH] fix a bug --- resources/views/admin/user/index.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/admin/user/index.blade.php b/resources/views/admin/user/index.blade.php index 4c1dc2ee..4cf85330 100644 --- a/resources/views/admin/user/index.blade.php +++ b/resources/views/admin/user/index.blade.php @@ -139,7 +139,7 @@ }); $('[data-operate="delete"]').click(function () { Swal.fire({ - title: `确认删除用户【${$(this).closest('tr').find('td.name').text()}】吗?`, + title: `确认删除用户【${$(this).closest('tr').data('json').name}】吗?`, text: "⚠️注意,删除后不可恢复,且该用户的图片将会变成游客身份!", icon: 'warning', showCancelButton: true,