From 052ade8baba3b58f334959c34f37316635ec5b52 Mon Sep 17 00:00:00 2001 From: JiaJun <2394389886@qq.com> Date: Sat, 18 Apr 2026 14:20:08 +0800 Subject: [PATCH] =?UTF-8?q?fix(auth):=20=E6=9B=B4=E6=96=B0=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E6=A0=87=E8=AF=86=E7=AC=A6=E5=B9=B6=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E9=A2=84=E8=A7=88=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/test-host.html | 2 +- src/features/authGuide.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/test-host.html b/public/test-host.html index 6dc8759..317e40b 100644 --- a/public/test-host.html +++ b/public/test-host.html @@ -34,7 +34,7 @@ } .preview { - width: 500px; + width: 100%; height: 800px; overflow: auto; } diff --git a/src/features/authGuide.tsx b/src/features/authGuide.tsx index 4d9e308..417ab60 100644 --- a/src/features/authGuide.tsx +++ b/src/features/authGuide.tsx @@ -9,8 +9,8 @@ import {queryKeys} from '@/lib/queryKeys.ts' import {useUserStore} from '@/store/user.ts' import type {HostContextMessage} from '@/types' -const HOST_READY_MESSAGE = 'PLAYX_READY' -const HOST_HEIGHT_MESSAGE = 'PLAYX_HEIGHT' +const HOST_READY_MESSAGE = 'IFRAME_READY' +const HOST_HEIGHT_MESSAGE = 'IFRAME_HEIGHT' const HOST_READY_INTERVAL = 500 const HOST_READY_RETRY_LIMIT = 20 const HOST_HEIGHT_REPORT_INTERVAL = 250