Browse Source

处理搜索判断问题。

release/210823_需求对对碰
王饶冀 4 years ago
parent
commit
c421edc222
3 changed files with 3 additions and 6 deletions
  1. 1
    1
      app.js
  2. 2
    2
      pages/index/index.js
  3. 0
    3
      pages/msgModule/wechat2/wechat2.js

+ 1
- 1
app.js View File

}) })
}, },
// mangerUrl: 'http://test2.hhrchina.com', // mangerUrl: 'http://test2.hhrchina.com',
mangerUrl: "http://192.168.18.138",
mangerUrl: "http://192.168.18.216",
// mangerUrl: "https://www.hhrchina.com", // mangerUrl: "https://www.hhrchina.com",
// mangerUrlPath: "https://www.hhrchina.com", // mangerUrlPath: "https://www.hhrchina.com",
}) })

+ 2
- 2
pages/index/index.js View File

this.setData({ this.setData({
listLoading: false listLoading: false
}) })
if(this.data.attentionTypeIds){
if(this.data.attentionTypeIds.length > 0 && res.data.total == 0){
if(this.data.attentionTypeIds && this.data.currentTab == 'my'){
if(this.data.attentionTypeIds.length > 0 && this.data.total == 0){
this.getListData(1); this.getListData(1);
} }
} }

+ 0
- 3
pages/msgModule/wechat2/wechat2.js View File

break; break;
} else { } else {
this.sendmsgApi("", 1); this.sendmsgApi("", 1);
console.log(`走这里1`)
} }
} }
} }
// 说明没有一条是messageType == 1 的 // 说明没有一条是messageType == 1 的
if(tempArr.length < 1){ if(tempArr.length < 1){
this.sendmsgApi("", 1); this.sendmsgApi("", 1);
console.log(`走这里3`)
} }
} else { } else {
this.sendmsgApi("", 1); this.sendmsgApi("", 1);
console.log(`走这里2`)
} }
} }
} }

Loading…
Cancel
Save