Commit d56c5013 by haojie

1

parent ec0898b1
......@@ -167,7 +167,7 @@ const onChange = (value: string) => {
getTokenList();
};
const getTokenList = () => {
if (keyword.value.trim() === '') {
if (keyword.value.trim() === '' || keyword.value.length == 1) {
return;
}
if (!loadingMore.value) {
......@@ -262,7 +262,7 @@ const resultFilter = (list) => {
});
return newList;
};
const doSeach = debounce(getTokenList, 500, true);
const doSeach = debounce(getTokenList, 500);
const getPopularList = async () => {
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment