fix
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user