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