From 35a2e61d73929532c120ba13965cda77ebcd52cd Mon Sep 17 00:00:00 2001 From: hhjk00 Date: Wed, 15 Nov 2023 16:21:04 +0900 Subject: [PATCH] =?UTF-8?q?initialState=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/statistics/models/index.ts | 63 ++++++++++++++++++++++++-- 1 file changed, 60 insertions(+), 3 deletions(-) diff --git a/src/modules/statistics/models/index.ts b/src/modules/statistics/models/index.ts index 81fd219..df266da 100644 --- a/src/modules/statistics/models/index.ts +++ b/src/modules/statistics/models/index.ts @@ -30,17 +30,74 @@ export interface IStcsSearchRq { } export const initialState = { - flight: [], + flight: [ + { + name: '-', + year: '0', + month: '0', + day: '0' + }, + { + name: '-', + year: '0', + month: '0', + day: '0' + }, + { + name: '-', + year: '0', + month: '0', + day: '0' + } + ], flightSearch: { graphData: [], topData: [] }, - abnormal: [], + abnormal: [ + { + name: '-', + year: '0', + month: '0', + day: '0' + }, + { + name: '-', + year: '0', + month: '0', + day: '0' + }, + { + name: '-', + year: '0', + month: '0', + day: '0' + } + ], abnormalSearch: { graphData: [], topData: [] }, - result: [], + result: [ + { + name: '-', + year: '0', + month: '0', + day: '0' + }, + { + name: '-', + year: '0', + month: '0', + day: '0' + }, + { + name: '-', + year: '0', + month: '0', + day: '0' + } + ], resultSearch: { graphData: [], topData: []