🌈 搜索
📅  最后修改于: 2022-03-11 14:57:47.553000             🧑  作者: Mango
// min and max Yup.object().shape({ temperature: Yup.number() .min(0, 'Min value 0.') .max(30, 'Max value 30.'), })