fix
This commit is contained in:
@@ -42,7 +42,6 @@ export class NodeManager {
|
||||
})
|
||||
const data = options?.data || {}
|
||||
data['component'] = options.component
|
||||
data['scale'] = options?.data?.scale || {x:1,y:1}
|
||||
const options_ = {
|
||||
id,
|
||||
position,
|
||||
|
||||
@@ -6,7 +6,7 @@ export interface NodesItem {
|
||||
type: string
|
||||
class: string
|
||||
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 {
|
||||
vueFlow: any
|
||||
|
||||
Reference in New Issue
Block a user