liunan #10
|
@ -2,8 +2,7 @@
|
|||
<el-table v-bind="$attrs" v-on="$listeners" :data="data">
|
||||
<el-table-column v-for="item,index in columns" :key="index" v-bind="item">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="item.soltName">
|
||||
|
||||
<div v-if="item.soltName">
|
||||
<slot :name="item.soltName" :row="scope.row" >
|
||||
</slot>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue