From ab5ffe4e2e2cfbf2633b4a3da121eaf834a68bce Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Tue, 20 May 2025 11:31:35 +0800 Subject: [PATCH] fix: set default initial values for rendering speed in aihubmixConfig - Added initialValue 'DEFAULT' for renderingSpeed in multiple mode configurations to ensure consistent default behavior across the application. --- src/renderer/src/pages/paintings/config/aihubmixConfig.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/renderer/src/pages/paintings/config/aihubmixConfig.tsx b/src/renderer/src/pages/paintings/config/aihubmixConfig.tsx index 6e7aedb60a..b586186be2 100644 --- a/src/renderer/src/pages/paintings/config/aihubmixConfig.tsx +++ b/src/renderer/src/pages/paintings/config/aihubmixConfig.tsx @@ -60,6 +60,7 @@ export const createModeConfigs = (): Record => { type: 'select', key: 'renderingSpeed', options: RENDERING_SPEED_OPTIONS, + initialValue: 'DEFAULT', disabled: (_config, painting) => { const model = painting?.model return !model || !model.includes('V_3') @@ -153,6 +154,7 @@ export const createModeConfigs = (): Record => { type: 'select', key: 'renderingSpeed', options: RENDERING_SPEED_OPTIONS, + initialValue: 'DEFAULE', disabled: (_config, painting) => { const model = painting?.model return !model || !model.includes('V_3') @@ -227,6 +229,7 @@ export const createModeConfigs = (): Record => { type: 'select', key: 'renderingSpeed', options: RENDERING_SPEED_OPTIONS, + initialValue: 'DEFAULT', disabled: (_config, painting) => { const model = painting?.model return !model || !model.includes('V_3')