|
|
@ -189,6 +189,9 @@ Page({ |
|
|
}) |
|
|
}) |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
this.setData({flag:''}) |
|
|
|
|
|
|
|
|
if (product.length > 0 && product1.length > 0) { |
|
|
if (product.length > 0 && product1.length > 0) { |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
flag: 'mix', |
|
|
flag: 'mix', |
|
|
@ -204,7 +207,13 @@ Page({ |
|
|
isCar: 'single' |
|
|
isCar: 'single' |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
console.log(product1); |
|
|
console.log(product1,'product1'); |
|
|
|
|
|
|
|
|
|
|
|
app.globalData.listName = null |
|
|
|
|
|
if (product1.length>0) { |
|
|
|
|
|
app.globalData.listName = 'car' |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
app.globalData.postProduct = product; |
|
|
app.globalData.postProduct = product; |
|
|
if (app.globalData.list) { |
|
|
if (app.globalData.list) { |
|
|
app.globalData.product = app.globalData.list[app.globalData.index] |
|
|
app.globalData.product = app.globalData.list[app.globalData.index] |
|
|
|