回退 'Pull Request !8 : 处理iss 优化建议'

This commit is contained in:
Ants
2022-09-23 07:00:25 +00:00
committed by Gitee
parent 42c7936f40
commit 808cda3277
3 changed files with 0 additions and 29 deletions

View File

@@ -125,12 +125,6 @@ const { optionsData } = useDictOptions<{
}
})
watch(optionsData, (arr) => {
if (arr.dept) {
formData.pid = arr.dept[0].id
}
})
const handleSubmit = async () => {
await formRef.value?.validate()
mode.value == 'edit' ? await deptEdit(formData) : await deptAdd(formData)