This commit is contained in:
caoqianming 2019-08-11 21:11:02 +08:00
parent 83573295b9
commit f457c46ad8
1 changed files with 5 additions and 4 deletions

View File

@ -258,8 +258,9 @@ Page({
}
}
});
}else if (this.data.yhtype == 'risktask') {
let data = {}
}
else if (this.data.yhtype == 'risktask') {
let data = {'risktask':null,'trouble':null}
data.risktask = this.data.risktaskdata.id
data.trouble = res.data.trouble
wx.request({
@ -280,8 +281,8 @@ Page({
}
}
});
}else{
console.log(x)
}
else{
wx.hideLoading();
wx.navigateBack()
}