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
yuzhilin
2024-07-05 16:18:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
84faccaee41742d616a44557f08178053d9bf3cf
84faccae
1 parent
a3cdab9c
fix
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
sight_harmony/features/wdComponent/src/main/ets/utils/InsightIntentShare.ets
sight_harmony/features/wdComponent/src/main/ets/utils/InsightIntentShare.ets
View file @
84facca
...
...
@@ -21,7 +21,7 @@ export const enum ActionMode {
}
// 上报节目类型白名单
const shareWhiteist = ['1', '2', '5', '8', '9', '14', '15'] //跳转类型:0:不跳转 1:点播,2:直播,3:活动,4:广告,5:专题,6:链接,7:榜单,8:图文,9:组图,10:H5新闻,11:频道,12:组件,13:音频,14动态图文,15动态视频 */
const shareWhite
L
ist = ['1', '2', '5', '8', '9', '14', '15'] //跳转类型:0:不跳转 1:点播,2:直播,3:活动,4:广告,5:专题,6:链接,7:榜单,8:图文,9:组图,10:H5新闻,11:频道,12:组件,13:音频,14动态图文,15动态视频 */
//ViewBlog意图共享-频道列表
export function viewBlogInsightIntentShare(context: common.UIAbilityContext, entityGroupId: string,
...
...
@@ -32,7 +32,7 @@ export function viewBlogInsightIntentShare(context: common.UIAbilityContext, ent
if (compList?.length > 0) {
compList?.forEach((comp: CompDTO | CompList) => {
comp.operDataList.forEach((item: ContentDTO) => {
if (shareWhiteist.indexOf(item.objectType) > -1) {
if (shareWhite
L
ist.indexOf(item.objectType) > -1) {
let viewBlogInsightIntentItem: insightIntent.InsightIntent = {
intentName: 'ViewBlog',
intentVersion: '1.0.1',
...
...
Please
register
or
login
to post a comment