yanlu

fix:16926 用户一键关注后取消所有关注下,无法再次一键关注

... ... @@ -385,11 +385,12 @@ export struct PeopleShipMainComponent {
})
Logger.debug('PeopleShipMainComponent', `一键关注接口参数: ${JSON.stringify(objects)}`);
let batchInfo = await PeopleShipMainViewModel.getAttentionBatchInfo(objects)
this.oneKeyFollow = false
if (batchInfo.code === 0 || batchInfo.code.toString() === "0") {
this.getData()
}
} catch (exception) {
this.oneKeyFollow = false
}
}
... ...