Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP fix type error!!! #337

Merged
merged 22 commits into from
Dec 7, 2023
Prev Previous commit
Next Next commit
fix: ts error
  • Loading branch information
Wxh16144 committed Dec 6, 2023
commit ea8400486776d2cdfb349e45f61519dfc5095e80
2 changes: 1 addition & 1 deletion DashboardWorkplace/src/_mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ const radarTitleMap = {
hot: '热度',
};
radarOriginData.forEach((item) => {
Object.keys(item).forEach((key) => {
(Object.keys(item) as Array<keyof typeof item>).forEach((key) => {
if (key !== 'name') {
radarData.push({
name: item.name,
Expand Down