fix commandNo

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-01-14 15:43:52 +07:00
parent 0217ee122d
commit 7a484e0065

View file

@ -172,7 +172,7 @@ const columns = ref<QTableProps["columns"]>([
field: "commandNo",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
format: (val) => statusText(val),
},
]);
@ -261,7 +261,7 @@ watch(
</q-tr>
</template>
<template v-slot:body="props">
<q-tr :props="props" class="cursor-pointer">
<q-tr :props="props">
<q-td v-for="col in props.cols" :key="col.id">
<div v-if="col.name === 'no'">
{{ props.rowIndex + 1 }}