fix(web): release bugfix

This commit is contained in:
zhaoying
2026-02-27 10:13:49 +08:00
parent c72ce381c0
commit bcf2376f5a
2 changed files with 5 additions and 813 deletions

View File

@@ -1,8 +1,8 @@
/*
* @Author: ZhaoYing
* @Date: 2026-02-25 11:45:07
* @Last Modified by: ZhaoYing
* @Last Modified time: 2026-02-25 11:45:07
* @Last Modified by: ZhaoYing
* @Last Modified time: 2026-02-27 09:59:41
*/
/**
* ChangeEmailModal Component
@@ -114,7 +114,7 @@ const ChangeEmailModal = forwardRef<ChangeEmailModalRef, ChangeEmailModalProps>(
sendEmailCode({ email: values.new_email })
.then(() => {
message.success(t('user.sendSuccess'))
setCountdown(300)
setCountdown(60)
const timer = setInterval(() => {
setCountdown((prev) => {
if (prev <= 1) {