|
@@ -279,17 +279,18 @@ Component({
|
|
productIds:[product.id],
|
|
productIds:[product.id],
|
|
ifCancelConcern:false
|
|
ifCancelConcern:false
|
|
}
|
|
}
|
|
|
|
+ var that = this
|
|
wx.showActionSheet({
|
|
wx.showActionSheet({
|
|
itemList: ['只取消监控', '取消监控和关注', '关闭'],
|
|
itemList: ['只取消监控', '取消监控和关注', '关闭'],
|
|
success (res) {
|
|
success (res) {
|
|
console.log(res.tapIndex)
|
|
console.log(res.tapIndex)
|
|
switch(res.tapIndex){
|
|
switch(res.tapIndex){
|
|
case 0:
|
|
case 0:
|
|
- this.cancelMonitoring(params,index,0)
|
|
|
|
|
|
+ that.cancelMonitoring(params,index,0)
|
|
break;
|
|
break;
|
|
case 1:
|
|
case 1:
|
|
params.ifCancelConcern = true
|
|
params.ifCancelConcern = true
|
|
- this.cancelMonitoring(params,index,1)
|
|
|
|
|
|
+ that.cancelMonitoring(params,index,1)
|
|
break;
|
|
break;
|
|
case 2:
|
|
case 2:
|
|
break
|
|
break
|