I am so sad today

This commit is contained in:
Zixin Zhou 2025-08-28 20:57:57 +08:00
parent 89b8413fd1
commit 1af5fda76a

View File

@ -99,12 +99,12 @@ export function TopBar({
if (response.successful && response.data?.portal_url) { if (response.successful && response.data?.portal_url) {
redirectToPortal(response.data.portal_url); redirectToPortal(response.data.portal_url);
} else { } else {
console.error('创建订阅管理会话失败:', response.message); console.log("cannot open the manage subscription");
alert('无法打开订阅管理页面,请稍后重试'); return;
} }
} catch (error) { } catch (error) {
console.error('打开订阅管理页面失败:', error); console.log("cannot open the manage subscription");
alert('无法打开订阅管理页面,请稍后重试'); return;
} finally { } finally {
setIsManagingSubscription(false); setIsManagingSubscription(false);
} }