Merge branch 'liangyun' into develop
This commit is contained in:
@@ -101,10 +101,10 @@ export default defineComponent({
|
|||||||
r.data.forEach(tpl => {
|
r.data.forEach(tpl => {
|
||||||
if (tpl.type === 'action') {
|
if (tpl.type === 'action') {
|
||||||
actionsTemplates.value.push(tpl);
|
actionsTemplates.value.push(tpl);
|
||||||
} else if (tpl.type === 'parallel' || tpl.type === 'sequence' || tpl.type === 'precondition') {
|
} else if (tpl.type === 'parallel' || tpl.type === 'sequence' || tpl.type === 'select'|| tpl.type === 'root') {
|
||||||
conditionTemplates.value.push(tpl);
|
|
||||||
} else {
|
|
||||||
controlTemplates.value.push(tpl);
|
controlTemplates.value.push(tpl);
|
||||||
|
} else {
|
||||||
|
conditionTemplates.value.push(tpl);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user