fix: tab list props

This commit is contained in:
puriphatt 2024-06-28 02:21:21 +00:00
parent c60ad21d18
commit e75228ef58
4 changed files with 6 additions and 6 deletions

View file

@ -11,6 +11,7 @@ defineProps<{
noPaddingTab?: boolean;
disabledRule?: boolean;
employee?: boolean;
tabsList?: { name: string; label: string }[];
}>();
const address = defineModel('address', { default: '' });
@ -22,7 +23,6 @@ const zipCode = defineModel<string>('zipCode', { default: '' });
const sameWithEmployer = defineModel<boolean>('sameWithEmployer');
const employeeTab = defineModel<string>('employeeTab');
const tabsList = defineModel<{ name: string; label: string }[]>('tabsList');
</script>
<template>
<div class="column absolute-top" style="inset: 0">

View file

@ -24,6 +24,7 @@ defineProps<{
edit?: boolean;
isEdit?: boolean;
tabsList?: { name: string; label: string }[];
editData?: (...args: unknown[]) => void;
deleteData?: (...args: unknown[]) => void;
@ -42,7 +43,6 @@ const zipCode = defineModel<string>('zipCode', { default: '' });
const sameWithEmployer = defineModel<boolean>('sameWithEmployer');
const currentTab = defineModel<string>('currentTab');
const tabsList = defineModel<{ name: string; label: string }[]>('tabsList');
</script>
<template>
<q-dialog v-model="modal" @hide="close">