修改时间选择组件部分代码

This commit is contained in:
2024-11-05 15:10:16 +08:00
parent 72702ca3cc
commit d4c309cdc7

View File

@@ -487,7 +487,9 @@
const endTotal = returnDateString(e.detail.value, true).getTime()
value1.value = e.detail.value
nextTick(() => {
value1.value = endTotal < startTotal ? value.value : e.detail.value
if (props.isArea) {
value1.value = endTotal < startTotal ? value.value : e.detail.value
}
debounce(changeDays(true, value1.value), 100)
})
}
@@ -521,7 +523,7 @@
}
function nullFunction() {
}
function pickend(e) {