Commit 8f0e59c8 authored by guoyou's avatar guoyou

时间选择器

parent 65290690
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
end-placeholder="结束日期" end-placeholder="结束日期"
value-format="timestamp" value-format="timestamp"
@change="changeTime" @change="changeTime"
:picker-options="pickerOptions"
></el-date-picker> ></el-date-picker>
<el-button <el-button
...@@ -103,6 +104,11 @@ export default { ...@@ -103,6 +104,11 @@ export default {
}, },
data() { data() {
return { return {
pickerOptions: {
disabledDate(time) {
return time.getTime() < Date.now();
}
},
appUserId: null, appUserId: null,
userFreeDay: true, userFreeDay: true,
isPhone: true, isPhone: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment