refactor: display getColumnLabel

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-05-12 14:25:33 +07:00
parent 94d80409c3
commit 9228132052
4 changed files with 4 additions and 14 deletions

View file

@ -5,7 +5,6 @@ import { useQuasar } from "quasar";
import { useCounterMixin } from "@/stores/mixin";
import http from "@/plugins/http";
import config from "@/app.config";
import { getColumnLabel } from "@/utils/function";
import type { QTableProps } from "quasar";
@ -254,7 +253,7 @@ watch(modal, (val) => {
<q-th auto-width />
<q-th v-for="col in props.cols" :key="col.name" :props="props">
<span class="text-weight-medium">
{{ getColumnLabel(col, isAct) }}
{{ col.label }}
</span>
</q-th>
</q-tr>