feat(version-card): update version information display structure

- Update versionResponse interface to include structured introduction object with releaseDate, upgradePosition, and coreUpgrades fields
- Refactor VersionCard component to display version details as separate paragraphs with improved layout
- Change introduction from string to object with nested properties for better data organization
- Remove unused Button and arrowRight imports from VersionCard component
- Add file header documentation comment to VersionCard component
- Remove debugger statement from TopCardList component
- Update styling to use flex-col layout and improve spacing with gap-2 class
- Map through coreUpgrades array to display each upgrade as individual paragraph items
- Improve version information presentation with clearer visual hierarchy
This commit is contained in:
yujiangping
2026-01-13 18:17:21 +08:00
parent 84aefc9a79
commit e0ca2f5725
3 changed files with 38 additions and 11 deletions

View File

@@ -25,7 +25,11 @@ export interface DataResponse {
}
export interface versionResponse{
version: string;
introduction: string;
introduction: {
releaseDate: string;
upgradePosition: string;
coreUpgrades: string[];
};
}
// 首页数据统计
export const getDashboardData = `/home-page/workspaces`