diff --git a/pages/index/index.uvue b/pages/index/index.uvue
index 5c8344f71851e994f26f10f3df804b15eddec7c0..26321046840916a58c01a1744632c21c35745cc0 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 34b31e1f60e3efdb7d89b1d7c87c5777fd040f10..11a0c653ab00977eea8255f6edd92ad180881c78 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 a4b83c9c8205033b70b9021cf040d06f585717ed..9ba0d18f2de7930c20067656c184990b5578a9dd 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'
}
},