<el-table-column prop="jsonData" label="json数据" width="150" align="center" header-align="center">
<template slot-scope="scope">
<el-tooltip class="item" effect="dark" :content="scope.row.jsonData" placement="top-start">
<div>{{scope.row.jsonData}}</div>
</el-tooltip>
</template>
</el-table-column>
<style scoped>
.el-tooltip{
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
word-break: break-all;
}
</style>