refactor(components): 修复代码错误,重新格式化代码

This commit is contained in:
2025-09-02 14:50:24 +08:00
parent b586e311be
commit 7f622de857
16 changed files with 268 additions and 348 deletions

View File

@@ -1,13 +1,23 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"target": "ES2020",
"module": "CommonJS",
"moduleResolution": "Node",
"strict": true,
"outDir": "dist-electron",
"rootDir": "electron",
"outDir": "dist-electron",
"esModuleInterop": true,
"types": ["node", "electron"]
"allowSyntheticDefaultImports": true,
"types": ["node", "electron"],
// 仅供 IDE 跳转可选加入(不影响运行)
"baseUrl": ".",
"paths": { "@/*": ["./src/*"] },
// 关键:不要把 ESM import 原样保留,交给 TS 转成 require
"verbatimModuleSyntax": false
},
"include": ["electron"]
}