[Bug Report]table的slot名称存在大小写情况下会报错
Opened this issue · 0 comments
yida1313 commented
Environment
chrome95,VUE3
Reproduction link
https://run.iviewui.com/UAICLCh5
Steps to reproduce
在非构建环境下(本地引入VUE和iView组件,直接在HTML中写VUE代码,当成jquery用),table组件的slot名称若存在大小写,会报的组件无法渲染的错误( [this.column.slot] is not a function),若名称改为全小写,则一切正常。例如重现链接中的“personName”,若改为“personname”就没问题,否则就报错
What is expected?
正常渲染出来的table
What is actually happening?
[this.column.slot] is not a function报错
希望slot名称可无视大小写,便于后台代码里驼峰命名的变量与前端无缝衔接