当在elementui中的table里想要渲染出html数据时
可以使用这种方式,里面嵌入个template
<el-table-column
prop="conf_name"
label="配置参数">
<template slot-scope="scope">
<div v-html="scope.row.conf_name"></div>
</template>
</el-table-column>
所有评论(0)