용어집 수정ㅇㅇㅇ
This commit is contained in:
parent
d3170637c0
commit
233a345ae2
@ -34,10 +34,8 @@ const koreanChars = ['ㄱ', 'ㄴ', 'ㄷ', 'ㄹ', 'ㅁ', 'ㅂ', 'ㅅ', 'ㅇ', '
|
||||
const englishChars = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'];
|
||||
|
||||
const selectedAlphabet = ref(null);
|
||||
|
||||
//emit정의
|
||||
const emit = defineEmits();
|
||||
|
||||
const selectAlphabet = (alphabet) => {
|
||||
selectedAlphabet.value = selectedAlphabet.value === alphabet ? null : alphabet;
|
||||
emit('update:data',selectedAlphabet.value);
|
||||
|
||||
@ -120,7 +120,6 @@
|
||||
loading.value = false; // 로딩 종료
|
||||
});
|
||||
};
|
||||
|
||||
// 카테고리 목록
|
||||
const getwordCategory = () => {
|
||||
axios.get('worddict/getWordCategory')
|
||||
@ -136,7 +135,6 @@
|
||||
selectedAlphabet.value = newAlphabet;
|
||||
getwordList(searchText.value,selectedAlphabet.value);
|
||||
};
|
||||
|
||||
// 검색
|
||||
const search = (e) => {
|
||||
searchText.value = e.trim();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user