mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
revert: #8553
This commit is contained in:
parent
d40709eb56
commit
6011308802
@ -868,9 +868,7 @@ export function wrapControl<
|
||||
formItem: this.model,
|
||||
formMode: control.mode || formMode,
|
||||
ref: this.controlRef,
|
||||
data: model
|
||||
? model.getMergedData(data || store?.data)
|
||||
: data || store?.data,
|
||||
data: data || store?.data,
|
||||
name: model?.name ?? control.name,
|
||||
value,
|
||||
changeMotivation: model?.changeMotivation,
|
||||
@ -883,8 +881,8 @@ export function wrapControl<
|
||||
prinstine: model ? model.prinstine : undefined,
|
||||
setPrinstineValue: this.setPrinstineValue,
|
||||
onValidate: this.validate,
|
||||
onFlushChange: this.flushChange,
|
||||
render: this.renderChild // 如果覆盖,那么用的就是 form 上的 render,这个里面用到的 data 是比较旧的。
|
||||
onFlushChange: this.flushChange
|
||||
// render: this.renderChild // 如果覆盖,那么用的就是 form 上的 render,这个里面用到的 data 是比较旧的。
|
||||
// !没了这个, tree 里的 options 渲染会出问题
|
||||
// todo 理论上不应该影响,待确认
|
||||
// _filteredOptions: this.model?.filteredOptions
|
||||
|
Loading…
Reference in New Issue
Block a user