fix: redux migrate error

This commit is contained in:
eeee0717
2025-03-26 14:07:27 +08:00
parent da1c07ff4c
commit 1242dedee2
+7
View File
@@ -808,6 +808,13 @@ const migrateConfig = {
return state
},
'86': (state: RootState) => {
if (!state.ocr) {
state.ocr = {
defaultProvider: '',
providers: []
}
}
if (!state.ocr.providers) {
state.ocr.providers = [
{