feat:禁用日期选择输入模式

This commit is contained in:
2025-11-17 22:23:59 +08:00
parent f5e75b745f
commit c0cfbbaa15

View File

@@ -57,7 +57,7 @@
<el-date-picker <el-date-picker
v-model="healthStore.currentHealth.sleepStartTime" v-model="healthStore.currentHealth.sleepStartTime"
type="datetime" clearable type="datetime" clearable :editable="false"
placeholder="选择时间" placeholder="选择时间"
style="width: 180px" style="width: 180px"
format="YYYY-MM-DD HH:mm" format="YYYY-MM-DD HH:mm"
@@ -74,7 +74,7 @@
<el-date-picker <el-date-picker
v-model="healthStore.currentHealth.sleepEndTime" v-model="healthStore.currentHealth.sleepEndTime"
type="datetime" clearable type="datetime" clearable :editable="false"
placeholder="选择时间" placeholder="选择时间"
style="width: 180px" style="width: 180px"
format="YYYY-MM-DD HH:mm" format="YYYY-MM-DD HH:mm"