Commit c89a8d1
committed
fix(Consumer): Render child content when slot-scope isn't defined. Provide a warning.
If slot slot-scoped isn't defined then this.$scopedSlots.default will be undefined. Calling in in
that scenario would result in an error. If it's undefined, fall back to render the default slot
while giving an error that slot-scope should be defined1 parent 399e341 commit c89a8d1
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
| |||
0 commit comments