diff --git a/src/app/admin/identify/page.tsx b/src/app/admin/identify/page.tsx index d15d679..3967b0d 100644 --- a/src/app/admin/identify/page.tsx +++ b/src/app/admin/identify/page.tsx @@ -98,6 +98,16 @@ export default function IdentifyPage(props: IdentifyPageProps) { const profile = useProfileStore(store => store.profile) const refreshProfile = useProfileStore(store => store.refreshProfile) + // 重置认证流程 + const handleDialogOpenChange = async (open: boolean) => { + setOpenDialog(open) + if (!open) { + setStep('form') + setTarget('') + await refreshProfile() + } + } + // ====================== // render // ====================== @@ -125,7 +135,7 @@ export default function IdentifyPage(props: IdentifyPageProps) { - + @@ -165,10 +175,7 @@ export default function IdentifyPage(props: IdentifyPageProps) {

请扫码完成认证

-
@@ -223,7 +230,7 @@ export default function IdentifyPage(props: IdentifyPageProps) {

03 - 充值、支付 + 支付订单 步骤配图