review:【antd】【iot】首页的迁移
This commit is contained in:
@@ -1,16 +1,7 @@
|
||||
/**
|
||||
* IoT 首页数据配置文件
|
||||
*
|
||||
* 该文件只包含统计数据接口定义
|
||||
*/
|
||||
|
||||
import type { IotStatisticsApi } from '#/api/iot/statistics';
|
||||
|
||||
/** 统计数据接口 - 使用 API 定义的类型 */
|
||||
export type StatsData = IotStatisticsApi.StatisticsSummary;
|
||||
|
||||
/** 默认统计数据 */
|
||||
export const defaultStatsData: StatsData = {
|
||||
export const defaultStatsData: IotStatisticsApi.StatisticsSummary = {
|
||||
productCategoryCount: 0,
|
||||
productCount: 0,
|
||||
deviceCount: 0,
|
||||
|
||||
Reference in New Issue
Block a user