feat: 新增车企
This commit is contained in:
parent
cae784762e
commit
345877b392
@ -200,7 +200,7 @@ const handleConfirm = async (valid, data) => {
|
||||
const res = await postTreeData({
|
||||
...data,
|
||||
type: formData.type,
|
||||
parentId: currentNode.value.id
|
||||
parentId: formData.type === 'oem' ? null : currentNode.value.id
|
||||
})
|
||||
if (res.code === 200) {
|
||||
dialogVisible.value = false
|
||||
|
||||
Loading…
Reference in New Issue
Block a user