fix: error and wrong display condition

This commit is contained in:
Methapon2001 2024-11-28 10:11:48 +07:00
parent da0b765f81
commit 417b1d8a93

View file

@ -277,10 +277,10 @@ async function triggerViewFile(opt: {
<template v-for="(value, i) in flow.step" :key="value.id">
<button
v-if="
workList?.every(
workList?.some(
(v) =>
v.productService.work?.attributes.workflowStep[i]
.attributes.properties.length > 0,
v.productService.work?.attributes?.workflowStep?.[i]
?.attributes.properties.length > 0,
)
"
class="status-color q-pa-sm bordered row items-center cursor-pointer no-wrap"