修改时间选择组件部分代码
This commit is contained in:
parent
72702ca3cc
commit
d4c309cdc7
|
|
@ -487,7 +487,9 @@
|
||||||
const endTotal = returnDateString(e.detail.value, true).getTime()
|
const endTotal = returnDateString(e.detail.value, true).getTime()
|
||||||
value1.value = e.detail.value
|
value1.value = e.detail.value
|
||||||
nextTick(() => {
|
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)
|
debounce(changeDays(true, value1.value), 100)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -521,7 +523,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function nullFunction() {
|
function nullFunction() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function pickend(e) {
|
function pickend(e) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue