Преглед изворни кода

处理搜索判断问题。

release/210823_需求对对碰
王饶冀 пре 3 година
родитељ
комит
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 Прегледај датотеку

@@ -100,7 +100,7 @@ App({
})
},
// mangerUrl: 'http://test2.hhrchina.com',
mangerUrl: "http://192.168.18.138",
mangerUrl: "http://192.168.18.216",
// mangerUrl: "https://www.hhrchina.com",
// mangerUrlPath: "https://www.hhrchina.com",
})

+ 2
- 2
pages/index/index.js Прегледај датотеку

@@ -250,8 +250,8 @@ Page({
this.setData({
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);
}
}

+ 0
- 3
pages/msgModule/wechat2/wechat2.js Прегледај датотеку

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

Loading…
Откажи
Сачувај