This commit is contained in:
IndieKKY
2024-10-04 00:07:11 +08:00
parent f50a2e3abd
commit abb97813d1
4 changed files with 8 additions and 9 deletions

View File

@@ -46,7 +46,7 @@ interface EnvState {
inputting: boolean
searchText: string
searchResult: Set<number>
searchResult: Record<string, boolean>
//当前视频是否计算过操作
reviewAction: boolean
@@ -74,7 +74,7 @@ const initialState: EnvState = {
inputting: false,
searchText: '',
searchResult: new Set(),
searchResult: {},
asks: [],
@@ -109,7 +109,7 @@ export const slice = createSlice({
setSearchText: (state, action: PayloadAction<string>) => {
state.searchText = action.payload
},
setSearchResult: (state, action: PayloadAction<Set<number>>) => {
setSearchResult: (state, action: PayloadAction<Record<string, boolean>>) => {
state.searchResult = action.payload
},
setFloatKeyPointsSegIdx: (state, action: PayloadAction<number | undefined>) => {