在elementui中的table的某列加入可跳转的链接

   

添加链接前

<el-table-column
    label="标题"
    prop="title"
>

</el-table-column>


添加链接后


<el-table-column
    label="标题"
    prop="title"
>
    <template slot-scope="scope">
        <span
        class="buttonText"
        style="cursor:pointer"
        @click="handleEdit(scope.$index, scope.row)"
        >{{ scope.row.title }}</span>
    </template>
</el-table-column>