会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
爱生活爱编程
johnjackson的博客
首页
新随笔
联系
管理
2021年9月14日
iview报错[Vue warn]: Error in render: "TypeError: ctx.injections.tableRoot.$scopedSlots[ctx.props.column.slot] is not a function"
摘要: 网上查到的都是同一个,说是因为columns定义了N个slot,但是html中没有使用N个,这个虽然也是原因之一,但是不是我这的原因,我最后发现我的问题原因是: HTML模板中定义了两个<Table>,table1有slot,table2没有 ,分别包在两个不同的<template>中并通过v-if
阅读全文
posted @ 2021-09-14 16:54 johnjackson
阅读(1301)
评论(0)
推荐(0)
编辑
公告