♻️ showSnackbar重构

This commit is contained in:
目棃
2024-11-14 18:01:38 +08:00
parent 20b9631468
commit ac6dbe0cdf
69 changed files with 614 additions and 1098 deletions

View File

@@ -148,10 +148,7 @@ export async function parseLink(
text: "取消则使用外部浏览器打开",
});
if (openCheck === undefined) {
showSnackbar({
text: "已取消打开",
color: "warn",
});
showSnackbar.cancel("已取消打开");
return true;
}
if (!openCheck) return url.href;