feat: 新增车企

This commit is contained in:
zhanghao 2025-11-27 09:20:32 +08:00
parent cae784762e
commit 345877b392

View File

@ -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