12.6 sickdetail
This commit is contained in:
@@ -160,6 +160,8 @@ Page({
|
||||
// }
|
||||
}
|
||||
|
||||
}else{
|
||||
this.handleOnlineSick(this.data.family_id);
|
||||
}
|
||||
},
|
||||
handleSetValue(data){
|
||||
@@ -180,9 +182,16 @@ Page({
|
||||
}
|
||||
for (const key in obj) {
|
||||
if (key != "product") {
|
||||
this.setData({
|
||||
[key]: data[key]
|
||||
})
|
||||
if(key=="is_taboo" && !data[key]){
|
||||
this.setData({
|
||||
[key]: null
|
||||
})
|
||||
}else{
|
||||
this.setData({
|
||||
[key]: data[key]
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user