Skip to content

Commit

Permalink
Merge pull request #17587 from gitforhlp/master
Browse files Browse the repository at this point in the history
fix the wrong code of  `deprecateReplaceLog` in  sunburstAction.ts
  • Loading branch information
Ovilia authored Aug 29, 2022
2 parents 71e9548 + d1462ff commit b96b04e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/chart/sunburst/sunburstAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export function installSunburstAction(registers: EChartsExtensionInstallRegister
}

if (__DEV__) {
deprecateReplaceLog('highlight', 'sunburstHighlight');
deprecateReplaceLog('sunburstHighlight', 'highlight');
}

// Fast forward action
Expand All @@ -103,7 +103,7 @@ export function installSunburstAction(registers: EChartsExtensionInstallRegister
payload = extend({}, payload);

if (__DEV__) {
deprecateReplaceLog('downplay', 'sunburstUnhighlight');
deprecateReplaceLog('sunburstUnhighlight', 'downplay');
}

api.dispatchAction(extend(payload, {
Expand All @@ -112,4 +112,4 @@ export function installSunburstAction(registers: EChartsExtensionInstallRegister
}
);

}
}

0 comments on commit b96b04e

Please sign in to comment.