File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4949 </el-table-column >
5050 <!-- expand 支持 tsx 语法 && 作用域插槽 (tsx > slot) -->
5151 <el-table-column v-bind =" item" :align =" item.align ?? 'center'" v-if =" item.type == 'expand'" v-slot =" scope" >
52- <component :is =" item.render" :row =" scope.row " v-if =" item.render" > </component >
53- <slot :name =" item.type" :row =" scope.row " v-else ></slot >
52+ <component :is =" item.render" v-bind =" scope" v-if =" item.render" > </component >
53+ <slot :name =" item.type" v-bind =" scope" v-else ></slot >
5454 </el-table-column >
5555 <!-- other 循环递归 -->
5656 <TableColumn v-if =" !item.type && item.prop && item.isShow" :column =" item" >
5757 <template v-for =" slot in Object .keys ($slots )" #[slot ]=" scope " >
58- <slot :name =" slot" :row =" scope.row " ></slot >
58+ <slot :name =" slot" v-bind =" scope" ></slot >
5959 </template >
6060 </TableColumn >
6161 </template >
You can’t perform that action at this time.
0 commit comments