️ 对签到链接跳转进行处理,优化部分网页活动打开

This commit is contained in:
目棃
2024-04-29 00:30:02 +08:00
parent abb0a6e751
commit 6316cc42b2
3 changed files with 37 additions and 8 deletions

View File

@@ -223,6 +223,10 @@ async function toNav(item: TGApp.BBS.Navigator.Navigator): Promise<void> {
window.open(item.app_path);
return;
}
if (item.name === "签到福利") {
await TGClient.open("web_act_thin", item.app_path);
return;
}
const modeConfirm = await showConfirm({
title: "是否采用宽屏模式打开?",
text: "取消则采用竖屏模式打开",