forked from 77media/video-flow
I am so sad today
This commit is contained in:
parent
89b8413fd1
commit
1af5fda76a
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user