ประกาศผล => fix bug
This commit is contained in:
parent
45a06402fe
commit
2ebcb1961c
3 changed files with 11 additions and 14 deletions
|
|
@ -259,7 +259,7 @@ function filterSelector(val: string, update: Function, type: string) {
|
|||
switch (type) {
|
||||
case "typereport":
|
||||
update(() => {
|
||||
typeReport.value = "";
|
||||
typeReport.value = val ? "" : typeReport.value;
|
||||
listReport.value = listReportMain.value.filter(
|
||||
(v: DataOption) => v.name.toLowerCase().indexOf(val) > -1
|
||||
);
|
||||
|
|
@ -267,7 +267,7 @@ function filterSelector(val: string, update: Function, type: string) {
|
|||
break;
|
||||
case "organization":
|
||||
update(() => {
|
||||
organization.value = "";
|
||||
organization.value = val ? "" : organization.value;
|
||||
organizationOps.value = organizationOpsMain.value.filter(
|
||||
(v: DataOption) => v.name.toLowerCase().indexOf(val) > -1
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue