diff --git a/package/component/src/component/datePicker/components/DatePanel.vue b/package/component/src/component/datePicker/components/DatePanel.vue index 1e393f58..0be78158 100644 --- a/package/component/src/component/datePicker/components/DatePanel.vue +++ b/package/component/src/component/datePicker/components/DatePanel.vue @@ -35,6 +35,7 @@ :date-list="dateList" v-model="Day" @simple="footOnOk" + @update:model-value="ChildUpdateModelValue" > { const footOnClear = () => { Day.value = -1; }; + +const ChildUpdateModelValue=()=>{ + emits("update:modelValue", Day.value); +} diff --git a/package/document-component/src/document/zh-CN/guide/changelog.md b/package/document-component/src/document/zh-CN/guide/changelog.md index 1593d7b3..60326f94 100644 --- a/package/document-component/src/document/zh-CN/guide/changelog.md +++ b/package/document-component/src/document/zh-CN/guide/changelog.md @@ -11,6 +11,15 @@