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:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user