From 8685b5624664d78be7318dbdf5ab19aec9bb52be Mon Sep 17 00:00:00 2001 From: YWQ HK IX <568170040@qq.com> Date: Sun, 12 Mar 2023 22:32:13 +0800 Subject: [PATCH] upload --- ext.json | 12 +++++++----- index/index.js | 14 +++++++++++--- project.config.json | 2 +- 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/ext.json b/ext.json index bd289e8..d547379 100644 --- a/ext.json +++ b/ext.json @@ -1,21 +1,23 @@ { "ext": { "attr": { - "configUrl": "https://ctest.malls.iformall.com/C/api" + "configUrl": "https://c.malls.iformall.com/C/api" }, - "name": "富茂券券集团版", - "weappId": "tt620e14b3fd30264101" + "name": "吾悦广场", + "weappId": "tt48a23e1fd79d648801" }, "window": { "backgroundTextStyle": "light", "navigationBarTextStyle": "black", + "navigationBarTitleText": "Mini Program", "navigationBarBackgroundColor": "#fff" }, - "extAppid": "tt620e14b3fd30264101", + "extAppid": "tt48a23e1fd79d648801", "extEnable": true, "directCommit": false, "networkTimeout": { "request": 30000, "downloadFile": 10000 - } + }, + "requiredPrivateInfos": ["chooseLocation", "getLocation"] } \ No newline at end of file diff --git a/index/index.js b/index/index.js index 88654e6..956a599 100644 --- a/index/index.js +++ b/index/index.js @@ -294,9 +294,17 @@ Page({ }) } } else { - that.setData({ - noDataFlag: true, - }) + if (that.data.businePageNum != 1) { + that.setData({ + noDataFlag: true + }) + } else { + that.setData({ + noDataFlag: true, + businessData: [] + }) + } + } tt.hideLoading(); console.log(that.data.businessData, 'businessData'); diff --git a/project.config.json b/project.config.json index aaf0cf0..017428f 100644 --- a/project.config.json +++ b/project.config.json @@ -32,7 +32,7 @@ "id": 1678428610317, "name": "index/index", "pathName": "pages/main/index", - "query": "type=scanIn&tenantId=1032", + "query": "type=scanIn&tenantId=1052", "scene": "990001", "launchFrom": "scan", "location": "qr_code"