bug修改

This commit is contained in:
XiuYun CHEN
2025-06-18 10:29:28 +08:00
parent 7414611bc5
commit 4d4a345038
5 changed files with 23 additions and 20 deletions
@@ -70,7 +70,7 @@ export struct ChooseEmailComp {
Column() {
// 手机号输入框
Row() {
TextInput({ placeholder: authStore.getUser().email.length>0?authStore.getUser().email:'请输入您的邮箱' })
TextInput({ placeholder: authStore.getUser().email?authStore.getUser().email:'请输入您的邮箱' })
.fontSize(16)
.contentType(ContentType.EMAIL_ADDRESS)
.backgroundColor(Color.White)
@@ -47,7 +47,7 @@ export struct LoginComp {
autoCancel:false
})
osFullName: string = deviceInfo.osFullName;
osFullName: string = deviceInfo.marketName.replace(/[\s\-\p{P}\p{S}]/gu, '');
login() {
if (this.loading) return;
if (!this.mobile) {