mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
fix(components): [date-picker] slot compatible with Vue3.3.x (#14354)
This commit is contained in:
parent
4747d69be7
commit
9b9b65751c
@ -14,7 +14,9 @@ export default defineComponent({
|
||||
if (slots.default) {
|
||||
const list = slots.default(cell).filter((item) => {
|
||||
return (
|
||||
item.patchFlag !== -2 && item.type.toString() !== 'Symbol(Comment)'
|
||||
item.patchFlag !== -2 &&
|
||||
item.type.toString() !== 'Symbol(Comment)' &&
|
||||
item.type.toString() !== 'Symbol(v-cmt)'
|
||||
)
|
||||
})
|
||||
if (list.length) {
|
||||
|
Loading…
Reference in New Issue
Block a user