Преглед на файлове

处理搜索判断问题。

release/210823_需求对对碰
王饶冀 преди 4 години
родител
ревизия
c421edc222
променени са 3 файла, в които са добавени 3 реда и са изтрити 6 реда
  1. 1
    1
      app.js
  2. 2
    2
      pages/index/index.js
  3. 0
    3
      pages/msgModule/wechat2/wechat2.js

+ 1
- 1
app.js Целия файл

}) })
}, },
// 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 Целия файл

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 Целия файл

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…
Отказ
Запис