fix: approveCheck
This commit is contained in:
parent
6280ab2e17
commit
802e63da13
1 changed files with 2 additions and 3 deletions
|
|
@ -168,9 +168,8 @@ const commanderList = computed(() => {
|
|||
const approveCheck = computed(() => {
|
||||
const commanders = rows.value?.commanders;
|
||||
return (
|
||||
Array.isArray(commanders) &&
|
||||
commanders.length > 0 &&
|
||||
commanders.every((commander) => commander.approveStatus === "APPROVE")
|
||||
commanders?.every((commander) => commander.approveStatus === "APPROVE") ??
|
||||
false
|
||||
);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue