mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-09 02:42:47 +00:00
fix: fix flash when show repo res (#6277)
This commit is contained in:
@@ -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 !== '') {
|
||||||
|
@@ -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 !== '') {
|
||||||
|
Reference in New Issue
Block a user