先说方法:v-html = "你的字符串"<el-table-column type="expand" label="详情" header-align="center"> <template slot-scope="scope"> <div v-html="scope.row.steps"></div> </template> </el-table-column>[格式化前][格式化后]