mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-17 06:31:34 +08:00
回退 'Pull Request !8 : 处理iss 优化建议'
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user