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
wangliang_wd
2024-09-27 17:30:26 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5756a828df4ec95383df15d99c8f655a03f90bc2
5756a828
1 parent
578e5ef6
feat:优化断网点击操作逻辑
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
0 deletions
sight_harmony/features/wdComponent/src/main/ets/components/H5NewsWebPageComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/ImageAndTextPageComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/view/OperRowListView.ets
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/view/OperationListView.ets
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/view/PlayerRightView.ets
sight_harmony/features/wdComponent/src/main/ets/components/H5NewsWebPageComponent.ets
View file @
5756a82
...
...
@@ -258,7 +258,10 @@ export struct H5NewsWebPageComponent {
// 初次进入详情页偶现获取失败,重新获取newsStatusOfUser对象
this.getInteractDataStatus()
}
}).catch((error:Error) =>{
ToastUtils.showToast(error.message, 1000);
})
}
/**
...
...
sight_harmony/features/wdComponent/src/main/ets/components/ImageAndTextPageComponent.ets
View file @
5756a82
...
...
@@ -465,7 +465,10 @@ export struct ImageAndTextPageComponent {
// 初次进入详情页偶现获取失败,重新获取newsStatusOfUser对象
this.getInteractDataStatus()
}
}).catch((error:Error) =>{
ToastUtils.showToast(error.message, 1000);
})
}
/**
...
...
sight_harmony/features/wdComponent/src/main/ets/components/view/OperRowListView.ets
View file @
5756a82
...
...
@@ -537,6 +537,8 @@ export struct OperRowListView {
this.queryContentInteractCount()
}
console.log(TAG, '收藏点击 this.newsStatusOfUser', JSON.stringify(this.newsStatusOfUser))
}).catch((error:Error) =>{
ToastUtils.showToast(error.message, 1000);
})
}
...
...
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/view/OperationListView.ets
View file @
5756a82
...
...
@@ -90,7 +90,10 @@ export struct OperationListView {
// console.log('点赞、取消点赞==', this.newsStatusOfUser?.likeStatus, this.interactData?.likeNum)
// this.queryContentInteractCount()
}
}).catch((error:Error) =>{
ToastUtils.showToast(error.message, 1000);
})
}
/**
...
...
@@ -124,8 +127,11 @@ export struct OperationListView {
}
// console.log('收藏、取消收藏==', this.newsStatusOfUser?.collectStatus, this.interactData?.collectNum)
}
}).catch((error:Error) =>{
ToastUtils.showToast(error.message, 1000);
})
}
/**
...
...
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/view/PlayerRightView.ets
View file @
5756a82
...
...
@@ -114,7 +114,10 @@ export struct PlayerRightView {
// this.queryContentInteractCount()
}
}).catch((error:Error) =>{
ToastUtils.showToast(error.message, 1000);
})
}
/**
...
...
@@ -152,8 +155,11 @@ export struct PlayerRightView {
}
// console.log(TAG, '收藏、取消收藏==', this.newsStatusOfUser?.collectStatus, this.interactData?.collectNum)
}
}).catch((error:Error) =>{
ToastUtils.showToast(error.message, 1000);
})
}
/**
...
...
Please
register
or
login
to post a comment