diff --git a/src/components/app/t-sidebar.vue b/src/components/app/t-sidebar.vue
index 84c4fa11..9007335c 100644
--- a/src/components/app/t-sidebar.vue
+++ b/src/components/app/t-sidebar.vue
@@ -30,7 +30,7 @@
-
+
diff --git a/src/utils/linkParser.ts b/src/utils/linkParser.ts
index 9f1abf8f..0c700629 100644
--- a/src/utils/linkParser.ts
+++ b/src/utils/linkParser.ts
@@ -10,6 +10,7 @@ import showConfirm from "../components/func/confirm";
/**
* @function parseLink
+ * @since Beta v0.3.8
* @description 处理链接
* @param {string} link - 链接
* @param {boolean} useInner - 是否采用内置 JSBridge 打开
@@ -19,9 +20,8 @@ export async function parseLink(
link: string,
useInner: boolean = false,
): Promise {
- console.warn("parseLink", link);
const url = new URL(link);
- if (url.protocol !== "https:") {
+ if (url.protocol !== "https:" && url.protocol !== "http:") {
if (url.protocol === "mihoyobbs:") {
if (url.pathname.startsWith("//article/")) {
const postId = url.pathname.split("/").pop();