mirror of
https://github.com/bestnite/sub2clash.git
synced 2025-10-27 01:21:17 +00:00
fix:修复ua标识等两个前端未正常回显问题
This commit is contained in:
@@ -256,6 +256,17 @@ async function parseInputURL() {
|
||||
);
|
||||
}
|
||||
|
||||
if (params.has("userAgent")) {
|
||||
document.getElementById("user-agent").value = decodeURIComponent(
|
||||
params.get("userAgent")
|
||||
);
|
||||
}
|
||||
|
||||
if (params.has("ignoreCountryGroup")) {
|
||||
document.getElementById("igcg").checked =
|
||||
params.get("ignoreCountryGroup") === "true";
|
||||
}
|
||||
|
||||
if (params.has("replace")) {
|
||||
parseAndFillReplaceParams(decodeURIComponent(params.get("replace")));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user