mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
🐛 参数搞错了x
This commit is contained in:
@@ -32,8 +32,8 @@ export async function parseLink(
|
|||||||
if (url.pathname === "//webview" && url.search.startsWith("?link=")) {
|
if (url.pathname === "//webview" && url.search.startsWith("?link=")) {
|
||||||
return decodeURIComponent(url.search.replace("?link=", ""));
|
return decodeURIComponent(url.search.replace("?link=", ""));
|
||||||
}
|
}
|
||||||
if (url.pathname === "//openURL" && url.search.startsWith("?link=")) {
|
if (url.pathname === "//openURL" && url.search.startsWith("?url=")) {
|
||||||
return decodeURIComponent(url.search.replace("?link=", ""));
|
return decodeURIComponent(url.search.replace("?url=", ""));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user