fix: 需要重置岗位选择
This commit is contained in:
parent
719ebbcf37
commit
454ca3d2e6
@ -187,6 +187,13 @@ async function handleConfirm() {
|
|||||||
async function handleCancel() {
|
async function handleCancel() {
|
||||||
drawerApi.close();
|
drawerApi.close();
|
||||||
await formApi.resetForm();
|
await formApi.resetForm();
|
||||||
|
// 需要重置岗位选择
|
||||||
|
formApi.updateSchema([
|
||||||
|
{
|
||||||
|
componentProps: { options: [], placeholder: '请先选择部门' },
|
||||||
|
fieldName: 'postIds',
|
||||||
|
},
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user