提交 ae8e4c31 编写于 作者: fxy060608's avatar fxy060608

chore: build

上级 5fd95628
......@@ -5531,6 +5531,10 @@ function withScopedSlot(fn, { name, path, vueId, }) {
function createScopedSlotInvoker(instance) {
const invoker = (slotName, args, index) => {
const slot = invoker.slots[slotName];
if (!slot) {
// slot 可能不存在 https://github.com/dcloudio/uni-app/issues/3346
return;
}
const hasIndex = typeof index !== 'undefined';
index = index || 0;
// 确保当前 slot 的上下文,类似 withCtx
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册