0.4.0 • Published 2 years ago
date-quick-select v0.4.0
本项目为mate2.0新版用到的组件 目前共有两个组件 1、AdsDate 用法示例
<!-- const [budgetUpdate, setBudgetUpdate] =
useState<{
isDataShow: boolean
startTime: string
endTime: string
timeArr: string
budgetType: number
budget: number | undefined
}>({
isDataShow: true,
startTime: '',
endTime: '',
timeArr: '111111111111111111111111',
budgetType: 0,
budget: undefined,
}) -->
2 地区选择 CitySelect 需要传默认值 ,和setlocation const location, setLocation = useState<{ status: number; area: string[]; radius: number; fileValue: UploadFile[]; }>( { status: 0, area: [], radius: 0, fileValue: [], }, )
0.4.0
2 years ago