fix: product worker

This commit is contained in:
puriphatt 2024-10-09 18:09:01 +07:00
parent f4802b6991
commit 7f0d006a7c
4 changed files with 176 additions and 248 deletions

View file

@ -14,6 +14,7 @@ const props = withDefaults(
buttomDownload?: boolean;
buttonDelete?: boolean;
hidePagination?: boolean;
inTable?: boolean;
imgColumn?: string;
customColumn?: string[];
@ -52,7 +53,7 @@ defineEmits<{
>
<template v-slot:header="props">
<q-tr
style="background-color: hsla(var(--info-bg) / 0.07)"
:style="`background-color: ${inTable ? '#F0FFF1' : 'hsla(var(--info-bg) / 0.07'} `"
:props="props"
>
<q-th v-for="col in props.cols" :key="col.name" :props="props">