订单结算修改,增加限时折扣
This commit is contained in:
@@ -260,7 +260,7 @@ const getCouponPopupAjax = async () => {
|
||||
try {
|
||||
const shopId = uni.cache.get("shopId");
|
||||
const res = await birthdayGiftApi.config({ shopId });
|
||||
if (res.length) {
|
||||
if (res&&res.length) {
|
||||
// 处理有效期格式(固定有效期规则)
|
||||
allCoupons.value = res.map((item) => {
|
||||
if (item.validType === "fixed") {
|
||||
|
||||
Reference in New Issue
Block a user