@ -187,6 +187,13 @@ async function handleConfirm() {
async function handleCancel() {
drawerApi.close();
await formApi.resetForm();
// 需要重置岗位选择
formApi.updateSchema([
{
componentProps: { options: [], placeholder: '请先选择部门' },
fieldName: 'postIds',
},
]);
}
</script>