[주문 결제] buy now -> checkout 진입 시에 로딩 스피너 제거
This commit is contained in:
@@ -110,6 +110,8 @@ export const getCheckoutTotalAmt =
|
|||||||
orderProductCoupontUse,
|
orderProductCoupontUse,
|
||||||
} = params;
|
} = params;
|
||||||
|
|
||||||
|
dispatch(changeAppStatus({ isLoading: false }));
|
||||||
|
|
||||||
dispatch(
|
dispatch(
|
||||||
changeAppStatus({ showLoadingPanel: { show: true, type: "wait" } })
|
changeAppStatus({ showLoadingPanel: { show: true, type: "wait" } })
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -388,7 +388,6 @@ export default function SingleOption({
|
|||||||
response.data.shippingAddressList.length === 0
|
response.data.shippingAddressList.length === 0
|
||||||
) {
|
) {
|
||||||
dispatch(setShowPopup(Config.ACTIVE_POPUP.qrPopup));
|
dispatch(setShowPopup(Config.ACTIVE_POPUP.qrPopup));
|
||||||
// dispatch(changeAppStatus({ showLoadingPanel: { show: false } }));
|
|
||||||
dispatch(changeAppStatus({ isLoading: false }));
|
dispatch(changeAppStatus({ isLoading: false }));
|
||||||
|
|
||||||
return;
|
return;
|
||||||
@@ -407,11 +406,9 @@ export default function SingleOption({
|
|||||||
}
|
}
|
||||||
} else if (response.retCode === 1001) {
|
} else if (response.retCode === 1001) {
|
||||||
dispatch(setShowPopup(Config.ACTIVE_POPUP.qrPopup));
|
dispatch(setShowPopup(Config.ACTIVE_POPUP.qrPopup));
|
||||||
// dispatch(changeAppStatus({ showLoadingPanel: { show: false } }));
|
|
||||||
dispatch(changeAppStatus({ isLoading: false }));
|
dispatch(changeAppStatus({ isLoading: false }));
|
||||||
} else {
|
} else {
|
||||||
dispatch(showError(response.retCode, response.retMsg, false));
|
dispatch(showError(response.retCode, response.retMsg, false));
|
||||||
// dispatch(changeAppStatus({ showLoadingPanel: { show: false } }));
|
|
||||||
dispatch(changeAppStatus({ isLoading: false }));
|
dispatch(changeAppStatus({ isLoading: false }));
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user