mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
parent
73a469cccb
commit
64743afc17
@ -61,7 +61,7 @@ export default {
|
|||||||
{
|
{
|
||||||
actionType: 'custom',
|
actionType: 'custom',
|
||||||
script: (context: any, doAction: any, event: any) => {
|
script: (context: any, doAction: any, event: any) => {
|
||||||
const theme = event.data.formData.config?.theme;
|
const theme = event.data.config?.theme;
|
||||||
theme && updateTheme(theme);
|
theme && updateTheme(theme);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user