fix 选中一月出错

This commit is contained in:
2023-11-20 11:28:28 +08:00
parent d858824376
commit c537d81b59
4 changed files with 4 additions and 4 deletions

View File

@@ -104,7 +104,7 @@ watch(
//关闭回调
const footOnOk = () => {
emits("update:modelValue", Month.value ? Month.value : -1);
emits("update:modelValue", Month.value || Month.value === 0 ? Month.value : -1);
if (datePicker.range) {
//关闭菜单
emits("ok");