fix: 需要重置岗位选择

This commit is contained in:
dap 2024-09-23 11:39:55 +08:00
parent 719ebbcf37
commit 454ca3d2e6

View File

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