From 36c5cdd7736cb40d1dc9e091196323fba1d54894 Mon Sep 17 00:00:00 2001 From: Anne_LXM Date: Mon, 27 May 2024 20:01:59 +0800 Subject: [PATCH] =?UTF-8?q?ios=E7=AB=AF=E6=94=AF=E6=8C=81=E4=B8=80?= =?UTF-8?q?=E9=94=AE=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.uvue | 2 +- uni_modules/uni-id-pages-x/config.uts | 2 +- uni_modules/uni-id-pages-x/init.uts | 4 ++-- uni_modules/uni-id-pages-x/lib/Univerify.uts | 2 +- uni_modules/uni-id-pages-x/pages/login/login.uvue | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/index/index.uvue b/pages/index/index.uvue index 0e2d1d4..698095d 100644 --- a/pages/index/index.uvue +++ b/pages/index/index.uvue @@ -17,7 +17,7 @@ 账号密码登录 - + 一键登录 diff --git a/uni_modules/uni-id-pages-x/config.uts b/uni_modules/uni-id-pages-x/config.uts index 30ca805..5036b39 100644 --- a/uni_modules/uni-id-pages-x/config.uts +++ b/uni_modules/uni-id-pages-x/config.uts @@ -14,7 +14,7 @@ export default { }, "loginTypes":[ "username", - // #ifdef APP-ANDROID && uniVersion >= 3.98 + // #ifdef uniVersion >= 3.98 "univerify", // #endif "smsCode", diff --git a/uni_modules/uni-id-pages-x/init.uts b/uni_modules/uni-id-pages-x/init.uts index 82c0eaa..f7217a4 100644 --- a/uni_modules/uni-id-pages-x/init.uts +++ b/uni_modules/uni-id-pages-x/init.uts @@ -15,7 +15,7 @@ const loginTypes = configLoginTypes == null ? [] as string[] : configLoginTypes; const debug = config.getBoolean('debug') as boolean; -// #ifdef APP-ANDROID && uniVersion >= 3.98 +// #ifdef uniVersion >= 3.98 import Univerify from '@/uni_modules/uni-id-pages-x/lib/Univerify.uts' // #endif @@ -78,7 +78,7 @@ export default async function () { }) } - // #ifdef APP-ANDROID && uniVersion >= 3.98 + // #ifdef uniVersion >= 3.98 // 如果uni-id-pages配置的登录功能有一键登录,有则执行预登录(异步) if (loginTypes.includes('univerify')) { const myUniverify = new Univerify() diff --git a/uni_modules/uni-id-pages-x/lib/Univerify.uts b/uni_modules/uni-id-pages-x/lib/Univerify.uts index 6aa856e..fd41aee 100644 --- a/uni_modules/uni-id-pages-x/lib/Univerify.uts +++ b/uni_modules/uni-id-pages-x/lib/Univerify.uts @@ -17,7 +17,7 @@ const loginTypes = config.getArray('loginTypes'); // buttonsList.push(buttons) // }) -// #ifdef APP-ANDROID && uniVersion >= 3.98 +// #ifdef uniVersion >= 3.98 const univerifyManager = uni.getUniverifyManager(); export default class Univerify { diff --git a/uni_modules/uni-id-pages-x/pages/login/login.uvue b/uni_modules/uni-id-pages-x/pages/login/login.uvue index 5013305..be8e94d 100644 --- a/uni_modules/uni-id-pages-x/pages/login/login.uvue +++ b/uni_modules/uni-id-pages-x/pages/login/login.uvue @@ -33,7 +33,7 @@