fix: body scrolls to top after opening a modal

This commit is contained in:
jialin
2025-01-09 11:27:44 +08:00
parent fb4666195c
commit a374d4d40f
7 changed files with 102 additions and 60 deletions
@@ -67,7 +67,7 @@ const advancedFieldsDefaultValus = {
guidance: 3.5,
sampling_steps: 10,
negative_prompt: null,
schedule_method: 'default',
schedule_method: 'discrete',
preview: null
};
@@ -71,7 +71,7 @@ const advancedFieldsDefaultValus = {
sampling_steps: 10,
negative_prompt: null,
preview: null,
schedule_method: 'default'
schedule_method: 'discrete'
};
const openaiCompatibleFieldsDefaultValus = {