kazupon/vue-i18n

scopedSlots do not work in render functions for component interpolation

开放

#1,050 创建于 2020年11月18日

 (1 条评论) (1 个反应) (0 位负责人)JavaScript (837 个派生)batch import
Type: Improvementhelp wanted

仓库指标

星标
 (7,222 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

vue & vue-i18n version

vue: 2.6.11 vue-i18n: 8.15.3 (also 8.22.1)

Reproduction Link

https://codesandbox.io/s/elegant-lamarr-l1mzm

Steps to reproduce

  • use a render function to create an i18n component for interpolation.
  • Pass scopedSlots into the data object to map.
  • Observe the missing values.

What is Expected?

vue-i18n should accept the scopedSlots to populate variables accordingly.

What is actually happening?

Does not compile the scopedSlots

贡献者指南