Commit dae48418 authored by XieZhiXiong's avatar XieZhiXiong

重新提交

parent 30459148
...@@ -20,6 +20,7 @@ const formActions = createFormActions(); ...@@ -20,6 +20,7 @@ const formActions = createFormActions();
const { const {
onFieldValueChange$, onFieldValueChange$,
onFieldInputChange$, onFieldInputChange$,
onFormInitialValueChange$,
} = FormEffectHooks; } = FormEffectHooks;
const AddMember: React.FC<any> = props => { const AddMember: React.FC<any> = props => {
...@@ -178,6 +179,10 @@ const AddMember: React.FC<any> = props => { ...@@ -178,6 +179,10 @@ const AddMember: React.FC<any> = props => {
const linkage = useLinkageUtils(); const linkage = useLinkageUtils();
let areasData = []; let areasData = [];
onFormInitialValueChange$().subscribe(initialValues => {
console.log('1111', initialValues)
});
// 手动触发改变的话重置角色、等级下拉框 // 手动触发改变的话重置角色、等级下拉框
onFieldInputChange$('memberTypeId').subscribe(() => { onFieldInputChange$('memberTypeId').subscribe(() => {
linkage.value('roleId', undefined); linkage.value('roleId', undefined);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment