大重构,优化本地调试

This commit is contained in:
IndieKKY
2024-10-03 19:29:10 +08:00
parent da7357c7eb
commit 5b6b4211a4
19 changed files with 136 additions and 179 deletions

View File

@@ -67,11 +67,11 @@ const initialState: EnvState = {
},
totalHeight: TOTAL_HEIGHT_DEF,
autoScroll: true,
currentTime: import.meta.env.VITE_ENV === 'web-dev' ? 30 : undefined,
// currentTime: import.meta.env.VITE_ENV === 'web-dev' ? 30 : undefined,
envReady: false,
tempReady: false,
fold: true,
data: import.meta.env.VITE_ENV === 'web-dev' ? getDevData() : undefined,
// data: import.meta.env.VITE_ENV === 'web-dev' ? getDevData() : undefined,
transResults: {},
inputting: false,