📅  最后修改于: 2022-03-11 14:59:37.635000             🧑  作者: Mango
passwordConfirm: Yup.string()
+ .label('Password Confirm')
+ .required()
+ .oneOf([Yup.ref('password')], 'Passwords does not match'),