fix ทดลองงาน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-12-26 13:48:50 +07:00
parent 72b09ddc50
commit 5f6d554441
2 changed files with 6 additions and 8 deletions

View file

@ -89,6 +89,9 @@ const columns = ref<QTableProps["columns"]>([
field: "status",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
format(val, row) {
return convertText(row.status);
},
},
]);
@ -224,11 +227,6 @@ watchEffect(() => {
1
}}
</div>
<div v-else-if="col.name == 'status'">
{{
props.row.status ? convertText(props.row.status) : "-"
}}
</div>
<div v-else>
{{ col.value ? col.value : "-" }}