Skip to content

Let's use AI to Earn!

fix: 返回

gaoSir6c4eb123152c
diff --git a/electron/db/models/video.ts b/electron/db/models/video.ts
index 2296f60b..14d198ef 100644
--- a/electron/db/models/video.ts
+++ b/electron/db/models/video.ts
@@ -11,7 +11,7 @@ import {
DouyinDeclareEnum,
VisibleTypeEnum,
} from '../../../commont/publish/PublishEnum';
-import { AccountType } from '@@/AccountEnum';
+import { AccountType } from '../../../commont/AccountEnum';
// 包含一个name和一个value的对象
export interface ILableValue {
diff --git a/tsconfig.electron.json b/tsconfig.electron.json
deleted file mode 100644
index 3cedd107..00000000
--- a/tsconfig.electron.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "compilerOptions": {
- "target": "ESNext",
- "useDefineForClassFields": true,
- "lib": [
- "DOM",
- "DOM.Iterable",
- "ESNext"
- ],
- "allowJs": false,
- "skipLibCheck": true,
- "esModuleInterop": false,
- "allowSyntheticDefaultImports": true,
- "strict": true,
- "forceConsistentCasingInFileNames": true,
- "module": "ESNext",
- "moduleResolution": "Node",
- "resolveJsonModule": true,
- "isolatedModules": true,
- "noEmit": true,
- "baseUrl": "./",
- "paths": {
- "@/*": [
- "src/*"
- ]
- },
- "experimentalDecorators": true,
- "emitDecoratorMetadata": true,
- },
- "include": [
- "electron"
- ]
-}
\ No newline at end of file
diff --git a/tsconfig.json b/tsconfig.json
index 61330448..9eea4e6b 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -33,14 +33,12 @@
},
"include": [
"src",
+ "electron",
"commont"
],
"references": [
{
"path": "./tsconfig.node.json"
- },
- {
- "path": "./tsconfig.electron.json"
}
]
}
\ No newline at end of file