官方上插槽 slot="header"这种写法,在template内是获取不到key的,可以将slot=“header” 改成#header ,就可以了刷新数据了 注意:title 需要自己去定义 <template #header> <div style="display: inline-flex"> <span class="title-red">*</span> <span>{{ title }}</span> </div> </template> 参考:插槽说明1 插槽说明2