<el-table
border
style="width: 400px"
:data="nameList" >
<el-table-column
align="center"
:key="Math.random()"
label="名称">
<template slot-scope="scope">
{{ scope.row }}
</template>
</el-table-column>
</el-table>
数据内容
data() {
return {
nameList:["小明","小画"]
}
}