京东赚赚小程序,添加推送开关,默认每月1日推送一次通知

This commit is contained in:
lxk0301
2021-03-14 16:43:02 +08:00
parent b65ea120d7
commit 2dd52d7f36
4 changed files with 15 additions and 5 deletions

View File

@@ -113,7 +113,7 @@ async function getHome(info = false) {
data = JSON.parse(data);
if (data['code'] === '0') {
const {myLuckyBox, luckyBoxList, rewardBagList} = data.result.data
let beanBox = luckyBoxList.filter(vo => vo.boxMaterials.findIndex(bo => !!bo & bo.title === '京豆') > -1)
let beanBox = luckyBoxList.filter(vo => vo.boxMaterials.findIndex(bo => !!bo && bo.title === '京豆') > -1)
if (beanBox.length) {
beanBox = beanBox[0]
if (beanBox['orderNo'] !== '' && beanBox['openRecId'] !== '') {