fix: แก้ type fieldSelected
This commit is contained in:
parent
7fd7df5a1b
commit
283ae2d1b0
1 changed files with 6 additions and 6 deletions
|
|
@ -134,12 +134,12 @@ const beforeBranch = ref<{ id: string; code: string }>({
|
|||
|
||||
const inputSearch = ref<string>('');
|
||||
const fieldBranch = ref(['all', 'branchHQLabel', 'branchLabel']);
|
||||
const fieldDisplay = ref([
|
||||
'branchLabelTel',
|
||||
'branchLabelAddress',
|
||||
'branchLabelType',
|
||||
]);
|
||||
const fieldSelected = ref<string[]>(fieldDisplay.value);
|
||||
const fieldDisplay = ref<
|
||||
('branchLabelAddress' | 'branchLabelTel' | 'branchLabelType')[]
|
||||
>(['branchLabelTel', 'branchLabelAddress', 'branchLabelType']);
|
||||
const fieldSelected = ref<
|
||||
('branchLabelAddress' | 'branchLabelTel' | 'branchLabelType')[]
|
||||
>(fieldDisplay.value);
|
||||
const fieldSelectedBranch = ref<{
|
||||
label: string;
|
||||
value: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue