Skip to content

Commit accbae2

Browse files
authored
Select update search
1 parent c1021b3 commit accbae2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

input/Select.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ onMounted(() => {
7373
modelValue.value = null
7474
}
7575
76-
// document.addEventListener('click', (e) => {
77-
// let a = document.querySelectorAll('.custom-select-open')
78-
// a.forEach((el) => el.click())
79-
// })
76+
document.addEventListener('click', (e) => {
77+
let a = document.querySelectorAll('.custom-select-open')
78+
a.forEach((el) => el.click())
79+
})
8080
})
8181
8282
function updateClick(option = null) {

input/SelectPrefix.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ onMounted(() => {
6262
clear()
6363
}
6464
65-
// document.addEventListener('click', (e) => {
66-
// let a = document.querySelectorAll('.custom-select-open')
67-
// a.forEach((el) => el.click())
68-
// })
65+
document.addEventListener('click', (e) => {
66+
let a = document.querySelectorAll('.custom-select-open')
67+
a.forEach((el) => el.click())
68+
})
6969
})
7070
7171
function clear() {

0 commit comments

Comments
 (0)