增加表格内icon
This commit is contained in:
parent
07b030d9a8
commit
b81ea1a22e
|
|
@ -23,6 +23,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="图标" min-width="140" prop="authorityName">
|
<el-table-column label="图标" min-width="140" prop="authorityName">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
<i :class="`icon el-icon-${scope.row.meta.icon}`"></i>
|
||||||
<span>{{scope.row.meta.icon}}</span>
|
<span>{{scope.row.meta.icon}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue