删除了秒的选择

This commit is contained in:
luyuan 2020-11-02 10:44:20 +08:00
parent 683b173a04
commit 5fceedfd1d
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -101,10 +101,15 @@
placeholder="请设置您的开始时间" placeholder="请设置您的开始时间"
/> --> /> -->
<a-date-picker <a-date-picker
class="datesel"
show-time show-time
format="YYYY-MM-DD HH:mm"
:value="form.dateline" :value="form.dateline"
@change="startchange" @change="startchange"
:placeholder="lan.$t('shezhikaishishijian')" :placeholder="lan.$t('shezhikaishishijian')"
:getCalendarContainer="
(triggerNode) => triggerNode.parentNode
"
/> />
</a-form-item> </a-form-item>
<a-form-item <a-form-item
@ -710,5 +715,13 @@ export default defineComponent({
} }
} }
} }
.datesel{
&::v-deep(.ant-calendar-time-picker-select){
width: 50% !important;
&:last-child{
display: none;
}
}
}
} }
</style> </style>