test(runtime-core): createSlots method (#119)
This commit is contained in:
@@ -15,7 +15,7 @@ export function createSlots(
|
||||
// array of dynamic slot generated by <template v-for="..." #[...]>
|
||||
if (isArray(slot)) {
|
||||
for (let j = 0; j < slot.length; j++) {
|
||||
slots[slot[i].name] = slot[i].fn
|
||||
slots[slot[j].name] = slot[j].fn
|
||||
}
|
||||
} else {
|
||||
// conditional single slot generated by <template v-if="..." #foo>
|
||||
|
||||
Reference in New Issue
Block a user