Fix variable config (#23070)

This commit is contained in:
GuanMu
2025-07-29 11:24:59 +08:00
committed by GitHub
parent 47cc951841
commit 7721648867
5 changed files with 30 additions and 6 deletions

View File

@@ -244,6 +244,7 @@ const ConfigModal: FC<IConfigModalProps> = ({
<SimpleSelect
key={`default-select-${options.join('-')}`}
className="w-full"
optionWrapClassName="max-h-[140px] overflow-y-auto"
items={[
{ value: '', name: t('appDebug.variableConfig.noDefaultValue') },
...options.filter(opt => opt.trim() !== '').map(option => ({