This commit is contained in:
test123456654321 2024-10-26 16:37:05 +08:00
parent dfbe50de38
commit fa1b5ae859
2 changed files with 4 additions and 2 deletions

View File

@ -127,7 +127,7 @@ document.querySelectorAll('.tab-widget_xxxxxx_internal .tab-button_xxxx_internal
)
stl = requests.get(ss.group()[6:-1], proxies=self.proxy).text
saver["style"] = stl
saver["primary"] = get_element_by("id", "main_results", res) + res.replace(
saver["primary"] = get_element_by("id", "result_area", res) + res.replace(
get_element_by("id", "main_results", res),
get_element_by("id", "primary", res),
)
@ -154,6 +154,8 @@ document.querySelectorAll('.tab-widget_xxxxxx_internal .tab-button_xxxx_internal
res.append(("Words", saver["primary"]))
if saver.get("secondary"):
res.append(("Others", saver["secondary"]))
if not res:
return
return "<style>{}</style>".format(
saver.get("style", "")
) + self.generatehtml_tabswitch(res)

View File

@ -29,7 +29,7 @@ include(generate_product_version)
set(VERSION_MAJOR 5)
set(VERSION_MINOR 50)
set(VERSION_PATCH 3)
set(VERSION_PATCH 4)
add_library(pch pch.cpp)
target_precompile_headers(pch PUBLIC pch.h)