This commit is contained in:
lzp
2026-03-02 10:53:36 +08:00
parent a865d189f3
commit 6cb32d41f1
4 changed files with 15 additions and 15 deletions

View File

@@ -41,15 +41,15 @@
type: NODE_DATATYPE.COLOR_PALETTE,
title: 'Color Palette'
},
{
tier: NODE_DATATIER.TO_3VIEW,
type: NODE_DATATYPE.TO_3VIEW,
title: 'To 3-View'
},
{
tier: NODE_DATATIER.TO_3D_MODEL,
type: NODE_DATATYPE.TO_3D_MODEL,
title: 'To 3D Model'
},
{
tier: NODE_DATATIER.TO_3VIEW,
type: NODE_DATATYPE.TO_3VIEW,
title: 'To 3-View'
}
])
const onClickItem = (v) => {

View File

@@ -69,17 +69,17 @@
title: 'Color Palette',
component: ColorPalette
},
{
tier: NODE_DATATIER.TO_3VIEW,
type: NODE_DATATYPE.TO_3VIEW,
title: 'To 3-View',
component: To3View
},
{
tier: NODE_DATATIER.TO_3D_MODEL,
type: NODE_DATATYPE.TO_3D_MODEL,
title: 'To 3D Model',
component: To3DModel
},
{
tier: NODE_DATATIER.TO_3VIEW,
type: NODE_DATATYPE.TO_3VIEW,
title: 'To 3-View',
component: To3View
}
]
const nodeManager = inject('nodeManager') as any

View File

@@ -45,7 +45,7 @@
() =>
props.node.id === lastNode.value.id &&
NODE_DATATYPE.RESULT_IMAGE === props.node.data.type &&
!(tier.value === NODE_DATATIER.TO_3D_MODEL)
!(tier.value === NODE_DATATIER.TO_3VIEW)
)
const onAdd = () => {
const tier_ = tier.value + 1

View File

@@ -17,8 +17,8 @@ export const NODE_DATATYPE = {
SURFACE_EDIT: 'surface-edit',
SCENE_COMPOSITION: 'scene-composition',
COLOR_PALETTE: 'color-palette',
TO_3VIEW: 'to-3view',
TO_3D_MODEL: 'to-3d-model',
TO_3VIEW: 'to-3view',
}
/**
* 节点数据层级
@@ -30,6 +30,6 @@ export const NODE_DATATIER = {
SURFACE_EDIT: 1,
SCENE_COMPOSITION: 2,
COLOR_PALETTE: 2,
TO_3VIEW: 2,
TO_3D_MODEL: 3,
TO_3D_MODEL: 2,
TO_3VIEW: 3,
}