form
사용 방법
interface initFormDataType {
[key: string]: {
[key: string]: string
}
}
export const initFormData: initFormDataType = {
samplePage: {
a: 'aaa',
b: 'bbb',
c: 'ccc',
},
adminAccountList: { // 관리자 관리 - 계정 관리 - 목록
searchType: 'username',
searchText: '',
sortType: 'date-desc',
pageNo: '1',
pageSize: '20',
},
adminAccountCreate: { // 관리자 관리 - 계정 관리 - 등록
id: '',
password: '',
passwordCheck: '',
isActive: 'false',
selectDate: '',
fromDate: '',
toDate: '',
radioGroup: '비과세',
checkGroup: '',
singleSelect: '',
multiSelect: '',
isOpen: 'false',
authority: '',
name: '',
phoneNumber: '',
email: '',
},
}
Last updated