|
@@ -42,9 +42,7 @@ Page({
|
|
|
that.loadStoreListData()
|
|
|
},
|
|
|
fail() {
|
|
|
- wx.navigateBack({
|
|
|
- delta: -1,
|
|
|
- })
|
|
|
+ that.loadStoreListData()
|
|
|
}
|
|
|
})
|
|
|
}else {
|
|
@@ -63,9 +61,7 @@ Page({
|
|
|
that.loadStoreListData()
|
|
|
},
|
|
|
fail() {
|
|
|
- wx.navigateBack({
|
|
|
- delta: -1,
|
|
|
- })
|
|
|
+ that.loadStoreListData()
|
|
|
}
|
|
|
})
|
|
|
}
|
|
@@ -170,8 +166,8 @@ Page({
|
|
|
loadStoreListData: function() {
|
|
|
activity.getStoreListByCoupon({
|
|
|
couponId: this.data.couponId,
|
|
|
- latitude: this.data.latitude,
|
|
|
- longitude: this.data.longitude,
|
|
|
+ latitude: this.data.latitude || null,
|
|
|
+ longitude: this.data.longitude || null,
|
|
|
page: this.data.page,
|
|
|
keyword: this.data.keyword,
|
|
|
pageSize: 10,
|