From 550209b82abb077796260c8a66eaf778f5325ee2 Mon Sep 17 00:00:00 2001 From: linju Date: Tue, 6 Sep 2022 16:41:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9F=90=E4=BA=9B=E6=83=85?= =?UTF-8?q?=E5=86=B5=E4=B8=8B=E7=99=BB=E5=BD=95=E6=8A=A5=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/appInit.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/common/appInit.js b/common/appInit.js index 10f49a1d..013a3ade 100644 --- a/common/appInit.js +++ b/common/appInit.js @@ -60,8 +60,7 @@ export default async function() { console.log('剪切板内容:'+res.data); if (res.data.slice(0, 18) == 'uniInvitationCode:') { let uniInvitationCode = res.data.slice(18, 38) - console.log('当前用户是其他用户推荐下载的,推荐者的code是:' + - uniInvitationCode); + console.log('当前用户是其他用户推荐下载的,推荐者的code是:' + uniInvitationCode); // uni.showModal({ // content: '当前用户是其他用户推荐下载的,推荐者的code是:'+uniInvitationCode, // showCancel: false @@ -69,12 +68,12 @@ export default async function() { callBack(uniInvitationCode) //当前用户是其他用户推荐下载的。这里登记他的推荐者id 为当前用户的myInviteCode。判断如果是注册 } else { - callBack(false) + callBack() } }, fail() { console.log('error--'); - callBack(false) + callBack() }, complete() { // #ifdef MP-WEIXIN -- GitLab