swiper问题

This commit is contained in:
mabo
2021-08-03 10:40:38 +08:00
parent 94719d58cd
commit d822c3c809
5 changed files with 31 additions and 39 deletions

View File

@@ -57,7 +57,7 @@ export default {
this.modelForm = dataJson;
// 秒杀活动不是装修的数据,需要调用接口判断是否有秒杀商品
for (let i = 0; i < dataJson.list.length; i++) {
if (dataJson.list[i].type === 'discountAdvert') {
if (dataJson.list[i].type === 'seckill') {
let seckill = this.getListByDay()
dataJson.list[i].options.list = seckill
break;