Pārlūkot izejas kodu

提交代码,首页index,js新增个人关注类型分类判断

release/210823_需求对对碰
王饶冀 pirms 3 gadiem
vecāks
revīzija
f39fc2954d
1 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  1. 5
    1
      pages/index/index.js

+ 5
- 1
pages/index/index.js Parādīt failu

@@ -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
})
}

Notiek ielāde…
Atcelt
Saglabāt