From 3f511fb616313e3a24acd8faf37d02ad467f3b33 Mon Sep 17 00:00:00 2001
From: Anne_LXM <54163582+anne-lxm@users.noreply.github.com>
Date: Sat, 27 Jan 2024 20:08:22 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=BC=E5=AE=B9uni-app-x=20web?=
=?UTF-8?q?=E7=AB=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/index/index.uvue | 4 ++--
.../uni-id-pages-x-avatar/uni-id-pages-x-avatar.uvue | 4 ++--
.../components/uni-id-pages-x-smsCode/fab-sms-code-input.uvue | 4 ----
3 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/pages/index/index.uvue b/pages/index/index.uvue
index 5c8344f..2632104 100644
--- a/pages/index/index.uvue
+++ b/pages/index/index.uvue
@@ -17,7 +17,7 @@
账号密码登录
-
+
一键登录
@@ -77,7 +77,7 @@
},
onLoad() { },
methods: {
- toLogin(loginType : string) {
+ toLogin(loginType : string) {
uni.navigateTo({
url: "/uni_modules/uni-id-pages-x/pages/login/login?type=" + loginType
})
diff --git a/uni_modules/uni-id-pages-x/components/uni-id-pages-x-avatar/uni-id-pages-x-avatar.uvue b/uni_modules/uni-id-pages-x/components/uni-id-pages-x-avatar/uni-id-pages-x-avatar.uvue
index 34b31e1..11a0c65 100644
--- a/uni_modules/uni-id-pages-x/components/uni-id-pages-x-avatar/uni-id-pages-x-avatar.uvue
+++ b/uni_modules/uni-id-pages-x/components/uni-id-pages-x-avatar/uni-id-pages-x-avatar.uvue
@@ -139,8 +139,8 @@
// console.log('res', res);
let tempFiles = res.tempFiles as UTSJSONObject[];
let tempFile = tempFiles[0];
- let tempFileName = tempFile['name'] as string
- let tempFilePath = tempFile['path'] as string
+ let tempFileName = tempFile['name'] as string | null
+ let tempFilePath = tempFile['path'] as string | null
if (tempFileName == null) {
tempFileName = ""
}
diff --git a/uni_modules/uni-id-pages-x/components/uni-id-pages-x-smsCode/fab-sms-code-input.uvue b/uni_modules/uni-id-pages-x/components/uni-id-pages-x-smsCode/fab-sms-code-input.uvue
index a4b83c9..9ba0d18 100644
--- a/uni_modules/uni-id-pages-x/components/uni-id-pages-x-smsCode/fab-sms-code-input.uvue
+++ b/uni_modules/uni-id-pages-x/components/uni-id-pages-x-smsCode/fab-sms-code-input.uvue
@@ -125,12 +125,8 @@
}
}
},
- codeChange(i : number, e : InputEvent) {
- // console.log(i, e);
- },
onFocus(i : number) {
if (this.smsCodeList[i].length == 0) {
- // console.log('i', i);
this.smsCodeList[i] = '\u200b'
}
},
--
GitLab