เพิ่มหมายดหตุ

This commit is contained in:
setthawutttty 2023-08-24 13:41:27 +07:00
parent 955e651dae
commit 6e7d5e6031

View file

@ -56,7 +56,7 @@ const rows2 = ref<any>([]);
interface TypeData { interface TypeData {
fileName:string fileName:string
annotation:string reason:string
pathName:string pathName:string
} }
const props = defineProps({ const props = defineProps({
@ -75,7 +75,7 @@ const getRequest = async () => {
data.map((item:TypeData) =>{ data.map((item:TypeData) =>{
rows2.value.push({ rows2.value.push({
fileName:item.fileName, fileName:item.fileName,
annotation:item.annotation, annotation:item.reason,
file:item.pathName file:item.pathName
}) })
@ -238,7 +238,7 @@ const save = () => {
{{ props.row.fileName }} {{ props.row.fileName }}
</q-td> </q-td>
<q-td key="annotation" :props="props"> <q-td key="annotation" :props="props">
{{ props.row.annotation !== undefined ? props.row.annotation:"-"}} {{ props.row.annotation !== null ? props.row.annotation:"-"}}
</q-td> </q-td>
<q-td auto-width> <q-td auto-width>
<q-btn <q-btn