删除部分打印

This commit is contained in:
2025-12-16 15:07:09 +08:00
parent 4a80b829bb
commit 251490e3ab
3 changed files with 34 additions and 9 deletions

View File

@@ -150,6 +150,7 @@
import {
back
} from "@/utils/uniapp.js";
import * as limitTimeDiscountapi from '@/common/api/market/limitTimeDiscount.js';
import {
onLoad,
onUnload
@@ -1096,6 +1097,8 @@
Object.assign(listinfo, res);
getOrderInfoAfterCalcInit(res);
}
const limitTimeDiscountRes=ref(null)
async function init(opt) {
await storeuser.actionsproductqueryProduct();
@@ -1117,6 +1120,17 @@
if (res && typeof res == "object") {
setOrder(res);
}
}else{
const limitRes = await limitTimeDiscountapi.getConfig({
shopId: uni.cache.get('shopId')
});
if (limitRes && typeof limitRes == 'object') {
limitTimeDiscountRes.value = limitRes;
} else {
limitTimeDiscountRes.value = null;
}
}
//获取店铺信息
const shopInfoRes = await APIusershopInfodetail({