修复删除描述

This commit is contained in:
Edward Yang 2022-08-26 11:02:42 +08:00
parent 92178afd19
commit 122af22e6f
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class ProductService
if ($isUpdating) {
$product->skus()->delete();
$product->description()->delete();
$product->descriptions()->delete();
}
$descriptions = [];