fix: tab list props
This commit is contained in:
parent
c60ad21d18
commit
e75228ef58
4 changed files with 6 additions and 6 deletions
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue