web端优化数据加载

This commit is contained in:
Xwite
2024-10-15 14:55:40 +08:00
parent 5807dfa0b6
commit 41e2c4f177
21 changed files with 197 additions and 139 deletions
-5
View File
@@ -2,11 +2,6 @@ import type { Source } from '@/source'
import bookSourceEditConfig from './bookSourceEditConfig'
import rssSourceEditConfig from './rssSourceEditConfig'
type PickAnyValueKey<T> = {
[K in keyof T]: T[K] extends { [prop: string]: string } ? K : never
}
type b = keyof PickAnyValueKey<BookSoure>
type SourceConfigKey =
| keyof typeof bookSourceEditConfig
| keyof typeof rssSourceEditConfig