mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-26 05:39:45 +08:00
🐛 仅用于测试环境
This commit is contained in:
@@ -70,6 +70,8 @@ function parseText(title: string): string {
|
||||
}
|
||||
|
||||
async function createAnnoJson(): Promise<void> {
|
||||
// @ts-expect-error import.meta
|
||||
if (import.meta.env.MODE === "production") return;
|
||||
const jsonPath = `/anno_detail_json/${region}/${annoId}/${lang}`;
|
||||
const jsonTitle = `Anno_${region}_${annoId}_${lang}_JSON`;
|
||||
await createTGWindow(jsonPath, "Dev_JSON", jsonTitle, 960, 720, false, false);
|
||||
|
||||
Reference in New Issue
Block a user