Skip to content

Commit

Permalink
Merge pull request #3076 from VisActor/fix/harmony-event
Browse files Browse the repository at this point in the history
fix: fix issue with harmony event
  • Loading branch information
xile611 authored Aug 12, 2024
2 parents 4ac42ef + 54cc5b0 commit a6b99fc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@visactor/vchart",
"comment": "fix: fix issue with harmony event",
"type": "none"
}
],
"packageName": "@visactor/vchart"
}
2 changes: 1 addition & 1 deletion packages/vchart/src/util/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ export function isMobileLikeMode(mode: RenderMode) {
}

export function isMiniAppLikeMode(mode: RenderMode) {
return mode.includes('miniApp') || mode === 'lynx' || mode === 'wx';
return mode.includes('miniApp') || mode === 'lynx' || mode === 'wx' || mode === 'harmony';
}

0 comments on commit a6b99fc

Please sign in to comment.