From 3c1afa916554c718b94122e02bec51f879dddca9 Mon Sep 17 00:00:00 2001 From: gitforhlp <997960553@qq.com> Date: Mon, 29 Aug 2022 16:06:36 +0800 Subject: [PATCH 1/2] change the `deprecateReplaceLog` in sunburstAction.ts --- src/chart/sunburst/sunburstAction.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chart/sunburst/sunburstAction.ts b/src/chart/sunburst/sunburstAction.ts index d45fdde79b..494131f1b0 100644 --- a/src/chart/sunburst/sunburstAction.ts +++ b/src/chart/sunburst/sunburstAction.ts @@ -87,7 +87,7 @@ export function installSunburstAction(registers: EChartsExtensionInstallRegister } if (__DEV__) { - deprecateReplaceLog('highlight', 'sunburstHighlight'); + deprecateReplaceLog('sunburstHighlight', 'highlight'); } // Fast forward action @@ -112,4 +112,4 @@ export function installSunburstAction(registers: EChartsExtensionInstallRegister } ); -} \ No newline at end of file +} From d1462ff42b4f96c06f52431548c859f46d19d86c Mon Sep 17 00:00:00 2001 From: gitforhlp <997960553@qq.com> Date: Mon, 29 Aug 2022 17:36:31 +0800 Subject: [PATCH 2/2] fix the deprecateReplaceLog about downplay --- src/chart/sunburst/sunburstAction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chart/sunburst/sunburstAction.ts b/src/chart/sunburst/sunburstAction.ts index 494131f1b0..ade76a3082 100644 --- a/src/chart/sunburst/sunburstAction.ts +++ b/src/chart/sunburst/sunburstAction.ts @@ -103,7 +103,7 @@ export function installSunburstAction(registers: EChartsExtensionInstallRegister payload = extend({}, payload); if (__DEV__) { - deprecateReplaceLog('downplay', 'sunburstUnhighlight'); + deprecateReplaceLog('sunburstUnhighlight', 'downplay'); } api.dispatchAction(extend(payload, {