1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-09 10:50:24 +00:00

fix: fix flash when show repo res (#6277)

This commit is contained in:
cir9no
2024-07-01 16:38:44 +08:00
committed by GitHub
parent a61dadde03
commit fe069045a2
2 changed files with 2 additions and 2 deletions

View File

@@ -282,7 +282,7 @@ export default class AISearch extends Component {
inputValue: newValue, inputValue: newValue,
isLoading: false, isLoading: false,
highlightIndex: 0, highlightIndex: 0,
resultItems: [], // resultItems: [],
isResultGetted: false, isResultGetted: false,
}, () => { }, () => {
if (trimmedValue !== '') { if (trimmedValue !== '') {

View File

@@ -244,7 +244,7 @@ class Search extends Component {
inputValue: newValue, inputValue: newValue,
isLoading: false, isLoading: false,
highlightIndex: 0, highlightIndex: 0,
resultItems: [], // resultItems: [],
isResultGetted: false, isResultGetted: false,
}, () => { }, () => {
if (trimmedValue !== '') { if (trimmedValue !== '') {