fix(查询组件): 设置时间区间范围,通过直接修改时间数字可绕过时间区间的设置

This commit is contained in:
dataeaseShu 2024-10-09 13:48:29 +08:00
parent 9348945866
commit 26b3cbf4a4

View File

@ -420,6 +420,7 @@ const formatDate = computed(() => {
['datetimerange', 'daterange'].includes(config.timeGranularityMultiple) ? shortcuts : []
"
@change="handleValueChange"
:editable="false"
:range-separator="$t('cron.to')"
:start-placeholder="placeholderText"
:end-placeholder="placeholderText"