Commit 2b3317aac58391438c7236a6a43757ca24c82005

Authored by wangfan
1 parent b60d20b5

fix "cache" cusman bug

Showing 1 changed file with 4 additions and 2 deletions
... ... @@ -83,6 +83,8 @@ Page({
cusman:man.user_name,
cusman_phone:man.user_phone?man.user_phone:'',
cusman_account:man.user_wechat?man.user_wechat:'',
}).then(()=>{
this.getDetail(this.data.bookInfo.id,true);
});
}
}catch(e){
... ... @@ -90,8 +92,8 @@ Page({
}
},
detailData:null,
getDetail(id){
App.Reserve.Detail({rid:id,openid:''}).then(res=>{
getDetail(id,force=false){
App.Reserve.Detail({rid:id,openid:''},force).then(res=>{
res.data.rdateStr=util.unixtoTime(res.data.rdate,"MM月DD日 HH:II")
this.detailData=res.data;
this.setData({
... ...