Merge pull request #163 from lanrenwo/patch-6

过期时间只能选择当天之后
This commit is contained in:
bjdgyc 2022-10-19 16:42:46 +08:00 committed by GitHub
commit 7e8eea5f80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -190,6 +190,7 @@
size="small"
align="center"
style="width:130px"
:picker-options="pickerOptions"
placeholder="选择日期">
</el-date-picker>
</el-form-item>
@ -258,6 +259,11 @@ export default {
grouNames: [],
tableData: [],
count: 10,
pickerOptions: {
disabledDate(time) {
return time.getTime() < Date.now();
}
},
searchData: '',
otpImgData: {visible: false, username: '', nickname: '', base64Img: ''},
ruleForm: {