fix: code error
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 8s

This commit is contained in:
Thanaphon Frappet 2025-03-10 15:51:19 +07:00 committed by puriphatt
parent 841f1157b1
commit da5cec3638

View file

@ -1,7 +1,7 @@
<script lang="ts" setup>
import { storeToRefs } from 'pinia';
import { onMounted, reactive, ref } from 'vue';
import { QSelect } from 'quasar';
import { QSelect, QTableProps } from 'quasar';
import { useNavigator } from 'src/stores/navigator';
import { useProperty } from 'src/stores/property';
@ -37,6 +37,27 @@ const fieldSelectedOption = ref<{ label: string; value: string }[]>([
},
]);
const columns = [
{
name: 'name',
align: 'center',
label: 'property.table.name',
field: 'order',
},
{
name: 'nameEn',
align: 'center',
label: 'property.table.nameEn',
field: 'nameEn',
},
{
name: 'type',
align: 'center',
label: 'property.table.type',
field: 'type',
},
] satisfies QTableProps['columns'];
const pageState = reactive({
hideStat: false,
inputSearch: '',
@ -445,8 +466,8 @@ onMounted(async () => {
:status="props.row.status"
@view="() => {}"
@edit="() => {}"
@delete="() => "
@change-status="() => "
@delete="() => {}"
@change-status="() => {}"
/>
</nav>
</div>