Skip to content

Commit

Permalink
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/runtime-core/src/component.ts
Original file line number Diff line number Diff line change
@@ -971,14 +971,6 @@ function getSlotsProxy(instance: ComponentInternalInstance): Slots {
get(target, key: string) {
track(instance, TrackOpTypes.GET, '$slots')
return target[key]
},
set() {
warn(`setupContext.slots is readonly.`)
return false
},
deleteProperty() {
warn(`setupContext.slots is readonly.`)
return false
}
}))
)

0 comments on commit c117d9c

Please sign in to comment.