fix: Fixed CAPTCHA loading issue in certain scenarios (#11186)

This commit is contained in:
CityFun 2025-12-04 18:12:22 +08:00 committed by GitHub
parent bf4d91b68b
commit 9428efd8c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -424,6 +424,9 @@ const getSetting = async () => {
globalStore.isFxplay = isFxplay.value;
globalStore.isOffLine = res.data.isOffLine;
globalStore.ignoreCaptcha = !res.data.needCaptcha;
if (!globalStore.ignoreCaptcha) {
loginVerify();
}
document.title = res.data.panelName;
i18n.warnHtmlMessage = false;