完善
This commit is contained in:
1 parent
81136dacd0
commit
3962ea78b4
11 files changed
+47
-38
No files matched your search
@@ -338,3 +338,4 @@ const handleCurrentChange = (page: number) => {
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@@ -190,3 +190,4 @@ defineExpose({
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@@ -202,3 +202,4 @@ const trendClass = computed(() => {
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@@ -6,3 +6,4 @@ export { default as SalesChart } from './SalesChart.vue';
|
||||
export { default as SummaryCard } from './SummaryCard.vue';
|
||||
export { default as ProductRankingTable } from './ProductRankingTable.vue';
|
||||
|
||||
|
||||
@@ -206,3 +206,4 @@ export const SUCCESS_MESSAGES = {
|
||||
CACHE_REFRESHED: '缓存刷新成功',
|
||||
};
|
||||
|
||||
|
||||
@@ -135,3 +135,4 @@ export function formatTimePeriodDataForExport(data: any[]) {
|
||||
增长率: `${item.growthRate || 0}%`
|
||||
}));
|
||||
}
|
||||
|
||||
@@ -195,3 +195,4 @@ export const TABLE_CONFIG = {
|
||||
showOverflowTooltip: true,
|
||||
};
|
||||
|
||||
|
||||
@@ -365,3 +365,4 @@ class ProfitMarginReportServiceTest {
|
||||
7. **测试覆盖**: 完善单元测试和集成测试
|
||||
|
||||
这样重构后的代码将更加清晰、可维护,并且性能更好。
|
||||
|
||||
Reference in new issue
Block a user