yanlu

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

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