We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Type: Component
Component
3.4.25
2.7.1
Microsoft Edge 版本 124.0.2478.51 (正式版本) (64 位)
Vite
el-date-picker
Element Plus Playground
示例代码:
<script setup lang="ts"> import { ElDatePicker } from 'element-plus'; //当类型定义为Date[]报错,而实际上dates存在这种类型 const dates = defineModel<Date>()//应该在change触发,实际在类input触发 const datesChange = (val: Date[]) => { console.log(val);//正常的在change时触发 } </script> <template> <ElDatePicker type="dates" v-model.lazy="dates" @change="datesChange" /> </template>
const dates = defineModel<Date[]>()
(empty)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Type:
Component
Environment
3.4.25
2.7.1
Microsoft Edge 版本 124.0.2478.51 (正式版本) (64 位)
Vite
Reproduction
Related Component
el-date-picker
Reproduction Link
Element Plus Playground
Steps to reproduce
示例代码:
What is Expected?
const dates = defineModel<Date[]>()
不报错What is actually happening?
Additional comments
(empty)
The text was updated successfully, but these errors were encountered: