diff --git a/src/pages/08_request-list/RequestListView.vue b/src/pages/08_request-list/RequestListView.vue index d9561372..52c9be73 100644 --- a/src/pages/08_request-list/RequestListView.vue +++ b/src/pages/08_request-list/RequestListView.vue @@ -262,14 +262,12 @@ const responsiblePersonList = computed(() => { curr.productService.service?.workflow?.step.forEach((v) => { const key = v.order.toString(); - if (!acc[key]) { - acc[key] = []; - } else { - v.responsiblePerson.forEach((lhs) => { - if (acc[v.order].find((rhs) => rhs.id === lhs.userId)) return; - acc[v.order].push(lhs.user); - }); - } + if (!acc[key]) acc[key] = []; + + v.responsiblePerson.forEach((lhs) => { + if (acc[v.order].find((rhs) => rhs.id === lhs.userId)) return; + acc[v.order].push(lhs.user); + }); }); return acc; @@ -612,6 +610,7 @@ function isInstallmentPaySuccess(installmentNo: number) {