fix: error undefined
This commit is contained in:
parent
8095c1c167
commit
6556a95e8b
1 changed files with 1 additions and 0 deletions
|
|
@ -441,6 +441,7 @@ function convertToTable(nodes: Node[]) {
|
|||
|
||||
list.forEach((v) => {
|
||||
v.amount = Math.max(selectedWorker.value.length, 1);
|
||||
if (!v.workerIndex) v.workerIndex = [];
|
||||
for (let i = 0; i < selectedWorker.value.length; i++) {
|
||||
v.workerIndex.push(i);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue