修复类型导入缺失及Props类型断言格式
This commit is contained in:
@@ -45,8 +45,8 @@
|
||||
:platforms="platforms"
|
||||
:nodeCommands="nodeCommands"
|
||||
:element="selectedNodeTaskElement"
|
||||
:graph="graph as any"
|
||||
:node="selectedModelNode as any"
|
||||
:graph="(graph as any)"
|
||||
:node="(selectedModelNode as any)"
|
||||
:tree="currentBehaviorTree"
|
||||
:tree-editing="currentTreeEditing"
|
||||
@update-element="handleUpdateElement" />
|
||||
@@ -74,7 +74,7 @@ import { createGraphTaskElementFromTemplate } from './utils';
|
||||
import { createGraphTaskElement, createLineOptions, type GraphContainer, type GraphTaskElement, hasElements, hasRootElementNode, resolveGraph, useGraphCanvas } from '../graph';
|
||||
import { registerNodeElement } from './register';
|
||||
import { findAllBasicPlatforms, findAllNodeCommands } from '../api';
|
||||
import type { Platform } from '../types';
|
||||
import type { NodeCommand, Platform } from '../types';
|
||||
import { createTree, findOneTreeById, findOneTreeByPlatformId, updateTree } from './api';
|
||||
import TressCard from './trees-card.vue';
|
||||
import NodesCard from './nodes-card.vue';
|
||||
|
||||
Reference in New Issue
Block a user