feat:修改强推
This commit is contained in:
@@ -969,8 +969,18 @@ export default {
|
||||
// 获取规格模版数据
|
||||
async querySpecification() {
|
||||
let infoResp = null;
|
||||
const params = {
|
||||
id: this.id,
|
||||
};
|
||||
if (this.isCoupon) {
|
||||
params.type = -1;
|
||||
}
|
||||
if (this.activedType === 'seckill') {
|
||||
params.activityId = this.activityId;
|
||||
params.activityType = 'seckill';
|
||||
}
|
||||
try {
|
||||
infoResp = await getGoodsSpecsInfo({ id: this.id });
|
||||
infoResp = await getGoodsSpecsInfo(params);
|
||||
} catch (e) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user