sk-front-lib 0.19.7 → 0.19.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -911,7 +911,7 @@ class SkCartLocalService {
|
|
|
911
911
|
if (index > -1) {
|
|
912
912
|
if (cart.product.maxBuyCount > 0 && cart.amount > cart.product.maxBuyCount) {
|
|
913
913
|
// 에러 리턴
|
|
914
|
-
return throwError('최대 구매 수량을 초과하였습니다.');
|
|
914
|
+
return throwError(new Error('최대 구매 수량을 초과하였습니다.'));
|
|
915
915
|
}
|
|
916
916
|
cartList[index] = cart;
|
|
917
917
|
localStorage.setItem('cartData', SkUtils.encodeBase64(cartList));
|