From be4e2d7c2b330c3b8991a0286ea16cc1285b9ec0 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Fri, 08 May 2026 17:47:32 +0800
Subject: [PATCH] feat: 微信小程序支持上传头像
---
src/subPackages/userDetail/password/index.vue | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/src/subPackages/userDetail/password/index.vue b/src/subPackages/userDetail/password/index.vue
index 7038a91..dd51f58 100644
--- a/src/subPackages/userDetail/password/index.vue
+++ b/src/subPackages/userDetail/password/index.vue
@@ -71,12 +71,6 @@
});
return false;
}
- // const hasLetter = /[a-zA-Z]/.test(password);
- // const hasNumber = /\d/.test(password);
- // if (!hasLetter || !hasNumber) {
- // ElMessage.error('密码需同时包含字母和数字');
- // return false;
- // }
return true;
};
const clearForm = () => {
@@ -225,12 +219,16 @@
bottom: 150rpx;
}
- .u-button:first-child {
- margin-right: 30rpx;
+ :deep(.u-button:first-child) {
+ margin-right: 30rpx !important;
}
.custom-style {
width: 276rpx;
height: 76rpx;
}
+ :deep(.u-button){
+ width: 276rpx !important;
+ height: 76rpx !important;
+ }
</style>
--
Gitblit v1.9.3