mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
修复#10041,赋值事件,args.value值为object时初始化加载不显示的bug (#10684)
* fix: 修复变量赋值事件,args.value为object值时加载不显示的bug * Revert "fix: 修复变量赋值事件,args.value为object值时加载不显示的bug" This reverts commit 9e911e1353b12879dbc58da2cc6960efc87705d0. * fix: 修复#10041,赋值事件,args.value值为object时初始化加载不显示的bug
This commit is contained in:
parent
c85b8cb02e
commit
f40e19f444
@ -3191,7 +3191,11 @@ export const getEventControlConfig = (
|
||||
|
||||
if (['setValue'].includes(action.actionType)) {
|
||||
const root = getRootManager(manager);
|
||||
let schema = JSONGetById(root.store.schema, config.__cmptId, 'id');
|
||||
let schema = JSONGetById(
|
||||
root.store.schema,
|
||||
config.__cmptId || action.componentId,
|
||||
'id'
|
||||
);
|
||||
if (schema) {
|
||||
let __isScopeContainer = DATA_CONTAINER.includes(schema.type);
|
||||
config.__isScopeContainer = __isScopeContainer;
|
||||
|
Loading…
Reference in New Issue
Block a user