ปรับ code รายการโครงการ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-04-04 13:33:41 +07:00
parent f8304abfc4
commit 93a5d53df2
5 changed files with 106 additions and 26 deletions

View file

@ -72,7 +72,7 @@ function changeDateStart() {
* @param val าตวพมพนหา
* @param update กครงทมพ
*/
const filterSelector = (val: any, update: Function) => {
const filterSelector = (val: string, update: Function) => {
update(() => {
provinceOp.value = provinceOpMain.value.filter(
(v: DataOption) => v.name.indexOf(val) > -1
@ -203,7 +203,7 @@ onMounted(() => {
class="inputgreen"
use-input
@filter="
(inputValue:any, doneFn:Function) =>
(inputValue:string, doneFn:Function) =>
filterSelector(inputValue, doneFn, )
"
>
@ -384,7 +384,7 @@ onMounted(() => {
class="inputgreen"
use-input
@filter="
(inputValue:any, doneFn:Function) =>
(inputValue:string, doneFn:Function) =>
filterSelector(inputValue, doneFn, )
"
><template v-slot:no-option>