[最新更新]
This commit is contained in:
@@ -88,8 +88,8 @@ Page({
|
||||
mask : true
|
||||
})
|
||||
wx.request({
|
||||
// url : 'https://api.xhtest.douhuofalv.com/api/mall/goods/' + this.data.goodsId,
|
||||
url : 'https://api.xuanhuojk.com/api/mall/goods/' + this.data.goodsId,
|
||||
url : 'https://api.xhtest.douhuofalv.com/api/mall/goods/' + this.data.goodsId,
|
||||
// url : 'https://api.xuanhuojk.com/api/mall/goods/' + this.data.goodsId,
|
||||
header : {
|
||||
"Accept" : "application/json",
|
||||
"channel" : "client",
|
||||
@@ -138,9 +138,12 @@ Page({
|
||||
this.setData({
|
||||
[temp1]: valueid
|
||||
})
|
||||
|
||||
let newlist = []
|
||||
let str = ''
|
||||
for (var i in this.data.specselect) {
|
||||
console.log(this.data.specselect)
|
||||
|
||||
if (i == index) {
|
||||
newlist.push(valueid);
|
||||
if (i == 0) {
|
||||
@@ -164,6 +167,8 @@ Page({
|
||||
})
|
||||
break;
|
||||
}
|
||||
|
||||
console.log(this.data.selectSkusValues)
|
||||
}
|
||||
this.setData({
|
||||
specselect: newlist
|
||||
|
||||
Reference in New Issue
Block a user