Skip to content

Commit

Permalink
fix: deprecated log
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Jan 13, 2022
1 parent 0ad5438 commit 7ce3d3b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/preprocessor/helper/compatStyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,13 @@ export default function globalCompatStyle(option: any, isTheme?: boolean) {
deprecateLog('nameGap property in radar component has been changed to axisNameGap');
}
}
each(radarOpt.indicator, function (indicatorOpt: any) {
if (__DEV__ && indicatorOpt.text) {
deprecateReplaceLog('text', 'name', 'radar.indicator');
}
});
if (__DEV__) {
each(radarOpt.indicator, function (indicatorOpt: any) {
if (indicatorOpt.text) {
deprecateReplaceLog('text', 'name', 'radar.indicator');
}
});
}
});

each(toArr(option.geo), function (geoOpt) {
Expand Down

0 comments on commit 7ce3d3b

Please sign in to comment.