<el-form-item label="生日" prop="birthday"> <el-date-picker type="date" v-model="ReginForm.birthday" placeholder="选择生日"> </el-date-picker> </el-form-item>
String birthdaystr=request.getParameter("birthday"); birthdaystr = birthdaystr.replace("GMT", "").replaceAll("\\(.*\\)", ""); SimpleDateFormat format = new SimpleDateFormat("EEE MMM dd yyyy hh:mm:ss z",Locale.ENGLISH); Date birthday = format.parse(birthdaystr);