fix: change workflow template on work, undo issue
This commit is contained in:
parent
db67ccd05c
commit
28066cda11
1 changed files with 2 additions and 2 deletions
|
|
@ -153,13 +153,13 @@ onMounted(async () => {
|
|||
});
|
||||
|
||||
watch(
|
||||
() => productItems.value,
|
||||
() => attributes.value.workflowId,
|
||||
() => {
|
||||
if (props.readonly) return;
|
||||
attributes.value.stepProperties.forEach((s) => {
|
||||
s.productsId = productItems.value.map((p) => p.id);
|
||||
});
|
||||
},
|
||||
{ deep: true },
|
||||
);
|
||||
</script>
|
||||
<template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue