修复行为树复制参数传递错误
This commit is contained in:
@@ -103,7 +103,7 @@ export default defineComponent({
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleCopy = (item: BehaviorTree) => {
|
const handleCopy = (item: BehaviorTree) => {
|
||||||
copyTree({ id: item.id }).then(r => {
|
copyTree(item).then(r => {
|
||||||
if (r.code === 200) {
|
if (r.code === 200) {
|
||||||
loadTress();
|
loadTress();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user