feat: 安全性提升

This commit is contained in:
手瓜一十雪
2025-09-06 11:23:09 +08:00
parent a0ef738bcf
commit 53a83b9b60
3 changed files with 11 additions and 5 deletions

View File

@@ -18,11 +18,17 @@ const CheckDefaultPassword = () => {
if (data) {
dialog.confirm({
title: '修改默认密码',
content: '检测到当前密码为默认密码,请尽快修改密码。',
content: '检测到当前密码为默认密码,为了您的安全,必须立即修改密码。',
confirmText: '前往修改',
onConfirm: () => {
navigate('/config?tab=token')
}
},
onCancel: () => {
navigate('/config?tab=token')
},
onClose() {
navigate('/config?tab=token')
},
})
}
}