Commit fd9efbee authored by XieZhiXiong's avatar XieZhiXiong

chore: 重新选择上级会员清空 会员类型、会员角色选项

parent 4938c8fc
...@@ -208,6 +208,11 @@ const AddRoleDrawer: React.FC<IProps> = (props: IProps) => { ...@@ -208,6 +208,11 @@ const AddRoleDrawer: React.FC<IProps> = (props: IProps) => {
formActions.clearErrors('roleId'); formActions.clearErrors('roleId');
}, 0); }, 0);
} }
// 清空选项
linkage.enum('memberTypeId', []);
linkage.enum('roleId', []);
linkage.loading('memberTypeId'); linkage.loading('memberTypeId');
getMembertype(+fieldState.value) getMembertype(+fieldState.value)
.then(res => { .then(res => {
......
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