refactor: core
This commit is contained in:
1 parent
20dec19bfe
commit
0ff5b4e90b
56 files changed
+111
-129
No files matched your search
@@ -6,9 +6,9 @@ import {
|
||||
ChatType,
|
||||
ChatCacheListItemBasic,
|
||||
CacheFileType
|
||||
} from '../../../ntqqapi/types';
|
||||
} from '@/core/entities';
|
||||
import { dbUtil } from '../../../common/db';
|
||||
import { NTQQFileApi, NTQQFileCacheApi } from '@/core/qqnt/apis/file';
|
||||
import { NTQQFileApi, NTQQFileCacheApi } from '@/core/apis/file';
|
||||
|
||||
export default class CleanCache extends BaseAction<void, void> {
|
||||
actionName = ActionName.CleanCache;
|
||||
@@ -102,4 +102,4 @@ function getCacheList(type: ChatType) { // NOTE: 做这个方法主要是因为
|
||||
})
|
||||
.catch(e => rej(e));
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user