| @@ -82,8 +82,12 @@ Page({ | |||
| this.toSearch(); | |||
| const businessCommunicationCustomer = wx.getStorageSync('businessCommunicationCustomer') || null; | |||
| if (businessCommunicationCustomer) { | |||
| let attentionTypeIds = businessCommunicationCustomer.attentionTypeIds; | |||
| if(attentionTypeIds){ | |||
| attentionTypeIds = attentionTypeIds.split(','); | |||
| } | |||
| this.setData({ | |||
| attentionTypeIds: businessCommunicationCustomer.attentionTypeIds.split(','), | |||
| attentionTypeIds, | |||
| customerId:businessCommunicationCustomer.customerId | |||
| }) | |||
| } | |||