fix: apply ESLint rule vue/require-macro-variable-name
This commit is contained in:
@@ -38,13 +38,13 @@ const props = defineProps({
|
||||
},
|
||||
});
|
||||
|
||||
const emits = defineEmits(['onSearch']);
|
||||
const emit = defineEmits(['onSearch']);
|
||||
|
||||
const searchTerm = ref('');
|
||||
|
||||
const onSearch = debounce(value => {
|
||||
searchTerm.value = value;
|
||||
emits('onSearch', value);
|
||||
emit('onSearch', value);
|
||||
}, 300);
|
||||
|
||||
const filteredListItems = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user