Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
yangchenggong1_wd
2024-05-13 09:50:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ccc5761725090967df8199e709a09add273ecc0b
ccc57617
1 parent
7ddc99a9
fix:bug[17116] 性能-搜索结果加载慢,tab切换空白时间长,见视频附件
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
sight_harmony/features/wdComponent/src/main/ets/components/search/SearchResultContentComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/search/SearchResultContentComponent.ets
View file @
ccc5761
...
...
@@ -50,7 +50,7 @@ export struct SearchResultContentComponent{
getNewSearchResultData(){
this.isLoading = true
if(this.hasMore){
SearcherAboutDataModel.getSearchResultListData("
2
0",`${this.curPageNum}`,this.searchType,this.keywords,getContext(this)).then((value)=>{
SearcherAboutDataModel.getSearchResultListData("
1
0",`${this.curPageNum}`,this.searchType,this.keywords,getContext(this)).then((value)=>{
if (!this.data || value.list.length == 0){
this.hasMore = false
this.isLoading = false
...
...
Please
register
or
login
to post a comment