แก้บัค type ไม่ตรง
This commit is contained in:
parent
bd70075086
commit
83ceefe10b
2 changed files with 3 additions and 3 deletions
|
|
@ -147,7 +147,7 @@ const pagination = ref({
|
|||
const filterSelector = (val: any, update: Function, year: any) => {
|
||||
update(() => {
|
||||
yearOptions.value = yearOptionsFilter.value.filter(
|
||||
(v: any) => v.name.toLowerCase().indexOf(val.toLowerCase()) > -1
|
||||
(v: any) => v.name.valueOf(val.toLowerCase()) > -1
|
||||
);
|
||||
});
|
||||
};
|
||||
|
|
@ -225,13 +225,13 @@ const typeReportChangeName = (val: string) => {
|
|||
:readonly="false"
|
||||
:borderless="false"
|
||||
:outlined="true"
|
||||
use-input
|
||||
:hide-dropdown-icon="false"
|
||||
style="min-width: 150px"
|
||||
@filter="(inputValue:any,
|
||||
doneFn:Function) => filterSelector(inputValue, doneFn,'yearOptions'
|
||||
) "
|
||||
/>
|
||||
<!-- use-input -->
|
||||
<div>
|
||||
<popupAdd
|
||||
:type="useStoreRetire.type"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue