mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-14 09:38:13 +08:00
🎨 代码格式化
This commit is contained in:
@@ -188,7 +188,7 @@ function getAnnoTime(content: string): string | false {
|
||||
/(?:〓(?:活动|折扣)时间〓|祈愿时间|【上架时间】).*?(\d\.\d版本更新后).*?~.*?<t class="t_(?:gl|lc)".*?>(.*?)<\/t>/,
|
||||
/(?:〓(?:活动|折扣)时间〓|祈愿时间|【上架时间】).*?<t class="t_(?:gl|lc)".*?>(.*?)<\/t>.*?~.*?<t class="t_(?:gl|lc)".*?>(.*?)<\/t>/,
|
||||
/〓活动时间〓.*?(\d{4}\/\d{2}\/\d{2} \d{2}:\d{2}:\d{2}).*?(\d\.\d版本结束)/,
|
||||
/〓更新时间〓.+?<t class=\"t_(?:gl|lc)\".*?>(.*?)&;lt;\/t>/,
|
||||
/〓更新时间〓.+?<t class="t_(?:gl|lc)".*?>(.*?)&;lt;\/t>/,
|
||||
];
|
||||
if (content.match(regexes[0])) {
|
||||
const res = content.match(regexes[0]);
|
||||
|
||||
@@ -278,7 +278,6 @@ async function freshPostData(): Promise<void> {
|
||||
|
||||
function freshCurForum(newVal: string): void {
|
||||
const forum = forumList[curGameLabel.value];
|
||||
// @ts-ignore
|
||||
curForum.value = forum[newVal];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user