Compare commits
1 Commits
8b3fe9b548
...
liangyun
| Author | SHA1 | Date | |
|---|---|---|---|
| 6fb020355b |
@@ -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