refactor: package behavior
This commit is contained in:
parent
052722eb14
commit
d59642bcb3
1 changed files with 1 additions and 0 deletions
|
|
@ -1395,6 +1395,7 @@ function submitAddWorkProduct() {
|
|||
if (!s.hasOwnProperty('productsId')) {
|
||||
s.productsId = [];
|
||||
}
|
||||
if (s.productsId.length === 0) return;
|
||||
s.productsId.push(i.id);
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue