保存下载类型选择

This commit is contained in:
IndieKKY
2024-01-20 10:21:27 +08:00
parent 8098d7cf9b
commit f01e175b4e
3 changed files with 6 additions and 8 deletions

View File

@@ -24,7 +24,6 @@ interface EnvState {
curIdx?: number // 从0开始
needScroll?: boolean
currentTime?: number
downloadType?: string
infos?: any[]
curInfo?: any
curFetched?: boolean
@@ -226,9 +225,6 @@ export const slice = createSlice({
setNoVideo: (state, action: PayloadAction<boolean>) => {
state.noVideo = action.payload
},
setDownloadType: (state, action: PayloadAction<string>) => {
state.downloadType = action.payload
},
setNeedScroll: (state, action: PayloadAction<boolean>) => {
state.needScroll = action.payload
},
@@ -285,7 +281,6 @@ export const {
addTaskId,
delTaskId,
setTaskIds,
setDownloadType,
setAutoTranslate,
setAutoScroll,
setNoVideo,