1.如果要给表格列添加链接,则需要使用自定义列模板(针对element),通过 scoped slot 可以获取到 row, column, $index 和 store(table 内部的状态管理)的数据。关于自定义列模板,在https://element.eleme.cn/#/zh-CN/component/table 中有更详细的解释。 2.还有就是当给表格列添加链接的时候一定要用上v-bind. 3.表格prop属性不要少 例子: < el-table-column prop=“id” label="#" width=“180”> < template slot-scope=“scope”> < router-link v-bind:to="’/problem/’+scope.row.id">{{scope.row.id}}< /router-link> < /template> < /el-table-column>