+5
-1
lines changedFilter options
+5
-1
lines changed Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ export function normalizeScopedSlots (
19
19
}
20
20
// expose normal slots on scopedSlots
21
21
for (const key in normalSlots) {
22
-
res[key] = () => normalSlots[key]
22
+
res[key] = proxyNormalSlot(normalSlots, key)
23
23
}
24
24
res._normalized = true
25
25
return res
@@ -31,3 +31,7 @@ function normalizeScopedSlot(fn: Function) {
31
31
return Array.isArray(res) ? res : res ? [res] : res
32
32
}
33
33
}
34
+
35
+
function proxyNormalSlot(slots, key) {
36
+
return () => slots[key]
37
+
}
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4