This commit is contained in:
X1627315083@163.com
2026-03-05 10:38:33 +08:00
parent 648fbcb89d
commit 9f3c313cb5
2 changed files with 1 additions and 2 deletions

View File

@@ -42,7 +42,6 @@ export class NodeManager {
}) })
const data = options?.data || {} const data = options?.data || {}
data['component'] = options.component data['component'] = options.component
data['scale'] = options?.data?.scale || {x:1,y:1}
const options_ = { const options_ = {
id, id,
position, position,

View File

@@ -6,7 +6,7 @@ export interface NodesItem {
type: string type: string
class: string class: string
position: { x: number, y: number } position: { x: number, y: number }
data: { component: any, type: string, superiorID?: string, scale: { x: number, y: number } } data: { component: any, type: string, superiorID?: string }
} }
export class StateManager { export class StateManager {
vueFlow: any vueFlow: any