Commit feff2fb7 by 前端

时分秒秒选择限制时间时去掉此刻按钮

1 parent 0476dbdc
......@@ -29,6 +29,7 @@
type="datetime"
format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm"
popper-class="no-atTheMoment"
placeholder="选择日期时间"
:picker-options="pickerOption['afterPickerOptions_timeChoose']">
</el-date-picker>
......@@ -384,3 +385,10 @@ export default {
}
}
</style>
<style lang="scss">
.el-picker-panel.no-atTheMoment {
.el-button--text.el-picker-panel__link-btn {
display: none;
}
}
</style>
......@@ -29,6 +29,7 @@
type="datetime"
format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm"
popper-class="no-atTheMoment"
placeholder="选择日期时间"
:picker-options="pickerOption['afterPickerOptions_timeChoose']">
</el-date-picker>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!