优化 代码块主题
This commit is contained in:
parent
695ba69208
commit
70769de9e5
@ -56,7 +56,7 @@ export function StyleConfigDialog({ value, onChangeAction }: StyleConfigDialogPr
|
|||||||
const newOptions = {
|
const newOptions = {
|
||||||
...currentOptions,
|
...currentOptions,
|
||||||
[category]: {
|
[category]: {
|
||||||
...currentOptions[category],
|
...(currentOptions[category] as object || {}),
|
||||||
[subcategory]: value === null ? undefined : value
|
[subcategory]: value === null ? undefined : value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user