How el-table-column gets data in other columns

el-table-column is a column attribute in el-table.

Idea: Obtain in slot-scope by using slot

For example, if you want to get other attributes in the row, such as the file id, you can get it directly in scope.row. Scope.row represents all the data in this row and is a dictionary:

Guess you like

Origin blog.csdn.net/weixin_38664232/article/details/108109125