ElemeFE / ElemeFE/element

el-table内嵌<slot></slot>后,渲染内容重复

Open
#20,561 2 comments 0 reactions 0 assignees View on GitHub
need: repro stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

test.vue
``` vue

export default {
data () {
return {
tableData: [{
date: '2016-05-02',
name: '王小虎',
address: '上海市普陀区金沙江路 1518 弄'
}, {
date: '2016-05-04',
name: '王小虎',
address: '上海市普陀区金沙江路 1517 弄'
}, {
date: '2016-05-01',
name: '王小虎',
address: '上海市普陀区金沙江路 1519 弄'
}, {
date: '2016-05-03',
name: '王小虎',
address: '上海市普陀区金沙江路 1516 弄'
}]
}
}
}

```

b.vue
``` vue






```

结果:
![image](https://user-images.githubusercontent.com/17739890/101881630-a3f5dc00-3bcf-11eb-90f7-064427ab7593.png)

el-table内嵌渲染出来的内容都出现了重复

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.