提交 fec841d2 编写于 作者: Mr.奇淼('s avatar Mr.奇淼(

增加表格内icon

上级 18d29674
...@@ -23,6 +23,7 @@ ...@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册