Open kikcmime opened 4 months ago
properties: {
product: {
type: 'string',
title: '产品线',
'x-decorator': 'FormItem',
'x-component': 'ProductSelect',
'x-component-props': {
all: true,
fieldNames: { label: 'cn_name', value: 'id' },
},
},
module: {
type: 'array',
title: '模块',
'x-decorator': 'FormItem',
'x-component': 'ModuleCascader2',
'x-component-props': {
fieldNames: { label: 'cn_name', value: 'id' },
mode: 'multiple',
product: {{$record.product}}
,
},
},
}
Reproduction link
Steps to reproduce
product:
{{$record.product}}
}, }, }What is expected?
触发form的重置后为啥$record.product传给组件的值还是存在的或者说是上一次的值
What is actually happening?
重置后product传的希望是空
Package
@formily/reactive@2.3.1