Initial commit
This commit is contained in:
@@ -205,7 +205,7 @@ export default defineComponent({
|
||||
};
|
||||
|
||||
const handleSelectTree = (tree: BehaviorTree) => {
|
||||
console.error('handleSelectTree', tree);
|
||||
console.info('handleSelectTree', tree);
|
||||
findOneTreeById(tree.id).then(r => {
|
||||
if (r.data) {
|
||||
let nodeGraph: NodeGraph | null = null;
|
||||
@@ -224,7 +224,6 @@ export default defineComponent({
|
||||
...r.data,
|
||||
graph: nodeGraph,
|
||||
};
|
||||
console.error(currentBehaviorTree.value);
|
||||
createElements();
|
||||
} else {
|
||||
message.error(r.msg ?? '行为树不存在.');
|
||||
|
||||
Reference in New Issue
Block a user