From de7df33788b1a6966a21d5ee96ea28c04df347c1 Mon Sep 17 00:00:00 2001 From: TL Date: Fri, 6 Jan 2023 14:42:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=B1=9E=E6=80=A7=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- beike/Admin/Repositories/AttributeGroupRepo.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/beike/Admin/Repositories/AttributeGroupRepo.php b/beike/Admin/Repositories/AttributeGroupRepo.php index 7f89fbfc..1c306f3d 100644 --- a/beike/Admin/Repositories/AttributeGroupRepo.php +++ b/beike/Admin/Repositories/AttributeGroupRepo.php @@ -56,6 +56,8 @@ class AttributeGroupRepo $attributeGroup->descriptions()->delete(); $attributeGroup->descriptions()->createMany($descriptions); + $attributeGroup->load('description', 'descriptions'); + return $attributeGroup; }