chore: 修复主题编辑器报错导致没法用 Close #5316 (#5775)

This commit is contained in:
吴多益 2022-11-22 22:41:27 +08:00 committed by GitHub
parent 73a469cccb
commit 64743afc17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ export default {
{
actionType: 'custom',
script: (context: any, doAction: any, event: any) => {
const theme = event.data.formData.config?.theme;
const theme = event.data.config?.theme;
theme && updateTheme(theme);
}
}